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