declaredIdentifier abstract method
DeclaredIdentifier
declaredIdentifier(
- Comment? comment,
- List<
Annotation> ? metadata, - Token? keyword,
- TypeAnnotation? type,
- SimpleIdentifier identifier,
Returns a newly created formal parameter. Either or both of the
comment
and metadata
can be null
if the declaration does not have
the corresponding attribute. The keyword
can be null
if a type name is
given. The type
must be null
if the keyword is 'var'.
Implementation
DeclaredIdentifier declaredIdentifier(
Comment? comment,
List<Annotation>? metadata,
Token? keyword,
TypeAnnotation? type,
SimpleIdentifier identifier);