EnumPlus mixin
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
-
equal(dynamic value)
→ bool
-
Checks if this instance is equal to the given enum instance or value.
-
getFriendlyName()
→ String
-
Transform the name into a friendly, formatted version.
-
inside(List values)
→ bool
-
Checks if a matching enum instance or value is in the given values.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
notEqual(dynamic value)
→ bool
-
Checks if this instance is not equal to the given enum instance or value.
-
outside(List values)
→ bool
-
Checks if a matching enum instance or value is not in the given values.
-
toString()
→ String
-
A string representation of this object.
inherited
-
toValue()
→ dynamic
-
Return a value representation of the enum.