fieldDeclaration2 abstract method
FieldDeclaration
fieldDeclaration2({
- Comment? comment,
- List<
Annotation> ? metadata, - Token? abstractKeyword,
- Token? augmentKeyword,
- Token? covariantKeyword,
- Token? externalKeyword,
- Token? staticKeyword,
- required VariableDeclarationList fieldList,
- required Token semicolon,
Returns a newly created field declaration. Either or both of the
comment
and metadata
can be null
if the declaration does not have
the corresponding attribute. The abstractKeyword
, augmentKeyword
,
covariantKeyword
, externalKeyword
and staticKeyword
can be null
if
the field does not have the corresponding modifier.
Implementation
FieldDeclaration fieldDeclaration2(
{Comment? comment,
List<Annotation>? metadata,
Token? abstractKeyword,
Token? augmentKeyword,
Token? covariantKeyword,
Token? externalKeyword,
Token? staticKeyword,
required VariableDeclarationList fieldList,
required Token semicolon});