Enum class Null safety

Implemented types
Annotations

Constructors

Enum([void updates(EnumBuilder)])
factory

Properties

annotations BuiltList<Expression>
Annotations as metadata on the node.
read-only
docs BuiltList<String>
Dart docs.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
name String
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
values BuiltList<EnumValue>
read-only

Methods

accept<R>(SpecVisitor<R> visitor, [R? context]) → R
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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