functionTypeAlias abstract method

FunctionTypeAlias functionTypeAlias(
  1. Comment? comment,
  2. List<Annotation>? metadata,
  3. Token keyword,
  4. TypeAnnotation? returnType,
  5. SimpleIdentifier name,
  6. TypeParameterList? typeParameters,
  7. FormalParameterList parameters,
  8. Token semicolon
)

Returns a newly created function type alias. Either or both of the comment and metadata can be null if the function does not have the corresponding attribute. The returnType can be null if no return type was specified. The typeParameters can be null if the function has no type parameters.

Implementation

FunctionTypeAlias functionTypeAlias(
    Comment? comment,
    List<Annotation>? metadata,
    Token keyword,
    TypeAnnotation? returnType,
    SimpleIdentifier name,
    TypeParameterList? typeParameters,
    FormalParameterList parameters,
    Token semicolon);