An identifier that has an initial value associated with it. Instances of this class are always children of the class DartVariableDeclarationList.

no subtypes hierarchy

Initializer
DartVariableDeclaration(DartSimpleIdentifier name, DartExpression? initializer = null)
Parameters:
  • initializer = null
Attributes
initializerSource Codeshared DartExpression? initializer
nameSource Codeshared DartSimpleIdentifier name
Inherited Attributes
Attributes inherited from: DartNode
Attributes inherited from: Object
hash, string
Methods
writeSource Codeshared actual void write(CodeWriter writer)
Inherited Methods
Methods inherited from: DartNode
Methods inherited from: Object
equals