TypeAliasImpl constructor

TypeAliasImpl({
  1. required CommentImpl? comment,
  2. required List<AnnotationImpl>? metadata,
  3. required Token typedefKeyword,
  4. required Token name,
  5. required Token semicolon,
})

Initialize a newly created type alias. Either or both of the comment and metadata can be null if the declaration does not have the corresponding attribute.

Implementation

TypeAliasImpl({
  required super.comment,
  required super.metadata,
  required this.typedefKeyword,
  required super.name,
  required this.semicolon,
});