EnumType enum

Enum type for enum values.

Inheritance

Constructors

EnumType()
const

Values

ordinal → const EnumType

Stores the index of the enum as a byte value.

ordinal32 → const EnumType

Stores the index of the enum as a 4-byte value. Use this type if your enum has more than 256 values or needs to be nullable.

name → const EnumType

Uses the name of the enum value.

value → const EnumType

Uses a custom enum value.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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<EnumType>
A constant List of the values in this enum, in order of their declaration.