EnumValue class
Enum value.
- Annotations
-
- @JsonSerializable(createFactory: true, createToJson: true, explicitToJson: true)
Constructors
- EnumValue.new({required String name, String? dbName})
-
Create a new enum value.
const
-
EnumValue.fromJson(Map<
String, dynamic> json) -
Enum value from JSON factory constructor.
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Enum value as JSON map.
-
toString(
) → String -
Enum value as JSON string.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited