JsonizableEnum class abstract
EnumJson
allows extending your enums and provide an unmutable value
for each of your enum items. This allows you to altering your enumeration by
changing names or adding new values but keeping your jsonized values safe.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- jsonValue → dynamic
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromValue<
T extends JsonizableEnum> (List< T> values, dynamic jsonValue) → T