MappableEnum class Enums
Used to annotate an enum in order to generate mapping code.
Constructors
- MappableEnum.new({ValuesMode mode = ValuesMode.named, CaseStyle? caseStyle, Object? defaultValue})
-
const
Properties
- caseStyle → CaseStyle?
-
The case style for the stringified enum values.
final
- defaultValue → Object?
-
The default value when serialization a string.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mode → ValuesMode
-
The mode used for encoding the enum values.
final
- 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