NormalFormalParameterImpl constructor
NormalFormalParameterImpl({
- required CommentImpl? comment,
- required List<
AnnotationImpl> ? metadata, - required Token? covariantKeyword,
- required Token? requiredKeyword,
- required Token? name,
Initialize 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.
Implementation
NormalFormalParameterImpl({
required CommentImpl? comment,
required List<AnnotationImpl>? metadata,
required this.covariantKeyword,
required this.requiredKeyword,
required this.name,
}) : _comment = comment {
_becomeParentOf(_comment);
_metadata._initialize(this, metadata);
}