DynamicEnumCodec<V> class
Constructors
-
DynamicEnumCodec.sparse({required Registry registry, required Map<
int, String> map})
Properties
Methods
-
decode(
Input input) → MapEntry< String, V> -
override
-
encode(
MapEntry< String, V> value) → Uint8List -
Convert self to an owned vector.
inherited
-
encodeTo(
MapEntry< String, V> value, Output output) → void -
Convert self to a slice and append it to the destination.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sizeHint(
MapEntry< String, V> value) → int -
If possible give a hint of expected size of the encoding.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited