EnumType class ast

A custom enumeration definition.

Inheritance
Available Extensions

Constructors

EnumType({required String className, required List<String> values, required List<String> valuesJSON})
Construct a new CustomType.
const

Properties

className String
Name of this class.
finalinherited
hashCode int
The hash code for this object.
read-onlyoverride
nullable bool
Bool indicator if null is allowed.
read-onlyoverride
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
values List<String>
Fields of this class.
final
valuesJSON List<String>
Fields of this class.
final

Methods

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

Operators

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