FieldDeclarationNode class
A field or top-level variable declaration.
- Inheritance
-
- Object
- DartNode
- DeclarationNode
- FieldDeclarationNode
Constructors
-
FieldDeclarationNode({required List<
VariableDeclaratorNode> variables, TypeNode? type, bool isStatic = false, bool isFinal = false, bool isConst = false, bool isLate = false, bool isCovariant = false}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isConst → bool
-
final
- isCovariant → bool
-
final
- isFinal → bool
-
final
- isLate → bool
-
final
- isStatic → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → TypeNode?
-
final
-
variables
→ List<
VariableDeclaratorNode> -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited