TypeAliasDecl constructor

TypeAliasDecl(
  1. IdentifierExpr id,
  2. TypeExpr typeValue, {
  3. String? classId,
  4. List<GenericTypeParameterExpr> genericTypeParameters = const [],
  5. bool hasEndOfStmtMark = false,
  6. bool isPrivate = false,
  7. bool isTopLevel = false,
  8. HTSource? source,
  9. int line = 0,
  10. int column = 0,
  11. int offset = 0,
  12. int length = 0,
})

Implementation

TypeAliasDecl(
  this.id,
  this.typeValue, {
  this.classId,
  this.genericTypeParameters = const [],
  super.hasEndOfStmtMark = false,
  this.isPrivate = false,
  this.isTopLevel = false,
  super.source,
  super.line = 0,
  super.column = 0,
  super.offset = 0,
  super.length = 0,
}) : super(Semantic.typeAliasDeclaration);