SchemaEnum class
Schema enum.
- Annotations
-
- @JsonSerializable(createFactory: true, createToJson: true, explicitToJson: true)
Constructors
-
SchemaEnum({required String name, required List<
String> values}) -
Create a new schema enum.
const
-
SchemaEnum.fromJson(Map<
String, dynamic> json) -
Schema enum 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> - Schema enum as JSON map.
-
toString(
) → String -
Schema enum as JSON string.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited