MEnumRegistry class
Contains all registered enum types to support deserialization.
- Mixed-in types
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- log → Logger
-
no setterinherited
- loggerName → String
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
factory<
T> (String key) → MEnumFactory< T?> -
instantiate<
M extends MLiteral< (String> >dynamic json, {required String type}) → M -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
register<
T extends MLiteral< (String> >String type, {required List< T> values, required MEnumFactory<T> factory}) → dynamic -
toString(
) → String -
A string representation of this object.
inherited
-
values<
T> (String key) → List< T>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
String mtype) → dynamic