variableDeclaration abstract method
VariableDeclaration
variableDeclaration(
- SimpleIdentifier name,
- Token? equals,
- Expression? initializer
Returns a newly created variable declaration. The equals
and
initializer
can be null
if there is no initializer.
Implementation
VariableDeclaration variableDeclaration(
SimpleIdentifier name, Token? equals, Expression? initializer);