variableDeclarationList2 abstract method
VariableDeclarationList
variableDeclarationList2({
- Comment? comment,
- List<
Annotation> ? metadata, - Token? lateKeyword,
- Token? keyword,
- TypeAnnotation? type,
- required List<
VariableDeclaration> variables,
Returns a newly created variable declaration list. Either or both of the
comment
and metadata
can be null
if the variable list does not have
the corresponding attribute. The keyword
can be null
if a type was
specified. The type
must be null
if the keyword is 'var'.
Implementation
VariableDeclarationList variableDeclarationList2(
{Comment? comment,
List<Annotation>? metadata,
Token? lateKeyword,
Token? keyword,
TypeAnnotation? type,
required List<VariableDeclaration> variables});