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.
no setteroverride
nullable bool
Bool indicator if null is allowed.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values List<String>
Fields of this class.
final
valuesJSON List<String>
Fields of this class.
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