makeCase(_:)
Creates an enumeration case with the specified raw value.
Declaration
func makeCase(_ rawValue: String) -> AnyAppEnumParameters
- rawValue:
The string representation of the enumeration case.
Mentioned in
Return Value
A type-erased enumeration instance with the specified value.
Discussion
The provided rawValue needs to match one of your enum’s cases.