VariableDeclarationStatementNode class
A variable declaration statement (var x = 1;, int a, b;).
- Inheritance
-
- Object
- DartNode
- StatementNode
- VariableDeclarationStatementNode
Constructors
-
VariableDeclarationStatementNode({required List<
VariableDeclaratorNode> variables, TypeNode? type, bool isFinal = false, bool isConst = false, bool isLate = false, bool isVar = false}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isConst → bool
-
final
- isFinal → bool
-
final
- isLate → bool
-
final
- isVar → 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