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
-
constructors
→ BuiltList<
Constructor> -
read-only
-
docs
→ BuiltList<
String> -
Dart docs.
read-only
-
fields
→ BuiltList<
Field> -
read-only
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
implements
→ BuiltList<
Reference> -
read-only
-
methods
→ BuiltList<
Method> -
read-only
-
mixins
→ BuiltList<
Reference> -
read-only
- name → String
-
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
-
types
→ BuiltList<
Reference> -
Generic type parameters.
read-only
-
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