EnumFromValue
Abstract class for enum wrappers that wrap over primitive enum values. The companion object of the enum wrapper should implement this abstract class.
fromValueOrNull should be implemented to indicate how the given value
should be parsed to its enum entry equivalent.
Since
0.0.1
Parameters
InternalValue
The internal value representation of the enum.
E
The enum.
default
The default value to be used for fromValue.
Inheritors
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Checks if an enum entry with the given value exists.
Link copied to clipboard