enum library Null safety

Classes

Enum<T>
Emulation of Java Enum class. [...]

Functions

enumValueByString<T>(List<T>? values, String? key, {T orElse()?}) → T?
Returns enum value by string [...]

Exceptions / Errors

EnumValueInvalidParamsException
Throws if values or key gives null