EnumValue class

Enum value parsed from the ast. Useful for distinguishing between enum and string values.

Annotations
  • @immutable

Constructors

EnumValue(String value)
Enum value parsed from the ast. Useful for distinguishing between enum and string values.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
The name of the enum variant
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override