FieldCategory enum

Categories of field types recognized by the model generator.

Inheritance
Available extensions

Values

primitive → const FieldCategory

String, int, double, bool.

dateTime → const FieldCategory

DateTime.

listPrimitive → const FieldCategory

List of primitives (List<String>, List<int>, etc.).

listCustom → const FieldCategory

List of custom models (List<UserModel>).

custom → const FieldCategory

Custom model class (UserModel).

enumType → const FieldCategory

Enum (Role).

map → const FieldCategory

Map<String, dynamic>.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Constants

values → const List<FieldCategory>
A constant List of the values in this enum, in order of their declaration.