EnumCodecByHandlers<V extends Enum> class

Implemented types

Constructors

EnumCodecByHandlers({required List<V> values, required V decoder(int data), required int encoder(V view)})
const

Properties

decoder → V Function(int data)
final
encoder int Function(V view)
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values List<V>
final

Methods

decode(int data) → V
override
encode(V view) int
override
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