topLevelVariableDeclaration abstract method
TopLevelVariableDeclaration
topLevelVariableDeclaration(
- Comment? comment,
- List<
Annotation> ? metadata, - VariableDeclarationList variableList,
- Token semicolon, {
- Token? externalKeyword,
Returns a newly created top-level variable declaration. Either or both
of the comment
and metadata
can be null
if the variable does not
have the corresponding attribute.
Implementation
TopLevelVariableDeclaration topLevelVariableDeclaration(
Comment? comment,
List<Annotation>? metadata,
VariableDeclarationList variableList,
Token semicolon,
{Token? externalKeyword});