variableDeclaration abstract method

VariableDeclaration variableDeclaration(
  1. SimpleIdentifier name,
  2. Token? equals,
  3. 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);