genericTypeAlias abstract method

GenericTypeAlias genericTypeAlias(
  1. Comment? comment,
  2. List<Annotation>? metadata,
  3. Token typedefKeyword,
  4. SimpleIdentifier name,
  5. TypeParameterList? typeParameters,
  6. Token equals,
  7. TypeAnnotation type,
  8. Token semicolon,
)

Returns a newly created generic type alias. Either or both of the comment and metadata can be null if the variable list does not have the corresponding attribute. The typeParameters can be null if there are no type parameters.

Implementation

GenericTypeAlias genericTypeAlias(
    Comment? comment,
    List<Annotation>? metadata,
    Token typedefKeyword,
    SimpleIdentifier name,
    TypeParameterList? typeParameters,
    Token equals,
    TypeAnnotation type,
    Token semicolon);