functionTypedFormalParameter2 abstract method
FunctionTypedFormalParameter
functionTypedFormalParameter2({
- Comment? comment,
- List<
Annotation> ? metadata, - Token? covariantKeyword,
- Token? requiredKeyword,
- TypeAnnotation? returnType,
- required SimpleIdentifier identifier,
- TypeParameterList? typeParameters,
- required FormalParameterList parameters,
- Token? question,
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 returnType
can be null
if no return type
was specified.
Implementation
FunctionTypedFormalParameter functionTypedFormalParameter2(
{Comment? comment,
List<Annotation>? metadata,
Token? covariantKeyword,
Token? requiredKeyword,
TypeAnnotation? returnType,
required SimpleIdentifier identifier,
TypeParameterList? typeParameters,
required FormalParameterList parameters,
Token? question});