variableDeclarationList abstract method
VariableDeclarationList
variableDeclarationList(
- Comment? comment,
- List<
Annotation> ? metadata, - Token? keyword,
- TypeAnnotation? type,
- 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'.
Use variableDeclarationList2 instead.
Implementation
VariableDeclarationList variableDeclarationList(
Comment? comment,
List<Annotation>? metadata,
Token? keyword,
TypeAnnotation? type,
List<VariableDeclaration> variables);