VariableDefinitionNode class

Inheritance

Constructors

VariableDefinitionNode({required VariableNode variable, required TypeNode type, DefaultValueNode? defaultValue, List<DirectiveNode> directives = const [], FileSpan? span})
const

Properties

defaultValue DefaultValueNode?
final
directives List<DirectiveNode>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
span → FileSpan?
FileSpan representing the location of the node in the SourceFile
finalinherited
type TypeNode
final
variable VariableNode
final

Methods

accept<R>(Visitor<R> v) → R
Accepts a Visitor v.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
visitChildren<R>(Visitor<R> v) → void
Lets Visitor v visit children nodes of this node.
inherited

Operators

operator ==(Object o) bool
The equality operator.
inherited