EnumMapper<T> class

Constructors

EnumMapper(T _decoder(String value), String _encoder(T value))

Properties

decoder Function
no setterinherited
encoder Function
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type Type
no setterinherited
typeFactory Function?
no setterinherited

Methods

decode(dynamic v) → T
encode(T value) → dynamic
equals(T self, T other) bool?
inherited
hash(T self) int?
Creates a combined hash code for a number of objects.
inherited
isFor(dynamic v) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
stringify(T self) String?
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited