superFormalParameter abstract method

SuperFormalParameter superFormalParameter({
  1. Comment? comment,
  2. List<Annotation>? metadata,
  3. Token? covariantKeyword,
  4. Token? requiredKeyword,
  5. Token? keyword,
  6. TypeAnnotation? type,
  7. required Token superKeyword,
  8. required Token period,
  9. required SimpleIdentifier identifier,
  10. TypeParameterList? typeParameters,
  11. FormalParameterList? parameters,
  12. Token? question,
})

Returns a newly created super-initializer 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 there is a type. The type must be null if the keyword is 'var'. The parameters can be null if this is not a function-typed super-initializer parameter.

Implementation

SuperFormalParameter superFormalParameter(
    {Comment? comment,
    List<Annotation>? metadata,
    Token? covariantKeyword,
    Token? requiredKeyword,
    Token? keyword,
    TypeAnnotation? type,
    required Token superKeyword,
    required Token period,
    required SimpleIdentifier identifier,
    TypeParameterList? typeParameters,
    FormalParameterList? parameters,
    Token? question});