Enum class abstract

Implemented types
Annotations
  • @immutable

Constructors

Enum([void updates(EnumBuilder)])
factory

Properties

annotations → BuiltList<Expression>
Annotations as metadata on the node.
no setter
constructors → BuiltList<Constructor>
no setter
docs → BuiltList<String>
Dart docs.
no setter
fields → BuiltList<Field>
no setter
hashCode int
The hash code for this object.
no setterinherited
implements → BuiltList<Reference>
no setter
methods → BuiltList<Method>
no setter
mixins → BuiltList<Reference>
no setter
name String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
types → BuiltList<Reference>
Generic type parameters.
no setter
values → BuiltList<EnumValue>
no setter

Methods

accept<R>(SpecVisitor<R> visitor, [R? context]) → R
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(EnumBuilder)) Enum
Rebuilds the instance.
inherited
toBuilder() EnumBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

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