Field class Null safety
- Implemented types
- Annotations
Constructors
- Field([void updates(FieldBuilder)])
-
factory
Properties
-
annotations
→ BuiltList<
Expression> -
Annotations as metadata on the node.
read-only
- assignment → Code?
-
Field assignment, if any.
read-only
-
docs
→ BuiltList<
String> -
Dart docs.
read-only
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- late → bool
-
Whether this field should be prefixed with
late
.read-only - modifier → FieldModifier
-
read-only
- name → String
-
Name of the field.
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- static → bool
-
Whether this field should be prefixed with
static
.read-only - type → Reference?
-
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(FieldBuilder)) → Field -
Rebuilds the instance.
inherited
-
toBuilder(
) → FieldBuilder -
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