Aspect enum
A different philosophy or motivation a card can have.
values is always in alphabetical order (using EnumName.name).
NOTE: As a result, the index of values in the enum are unstable and
may change between package versions without a breaking change version bump.
To persist, store name
instead and use parse
or tryParse to retrieve
the enum value.
Values
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
-
toDebugString(
) → String - Returns a string representation of this object, suitable for debugging.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited