simpleFormalParameter2 abstract method
SimpleFormalParameter
simpleFormalParameter2({
- Comment? comment,
- List<
Annotation> ? metadata, - Token? covariantKeyword,
- Token? requiredKeyword,
- Token? keyword,
- TypeAnnotation? type,
- required SimpleIdentifier? identifier,
Returns a newly created formal parameter. Either or both of the
comment
and metadata
can be null
if the parameter 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
SimpleFormalParameter simpleFormalParameter2(
{Comment? comment,
List<Annotation>? metadata,
Token? covariantKeyword,
Token? requiredKeyword,
Token? keyword,
TypeAnnotation? type,
required SimpleIdentifier? identifier});