HTTypeAliasDeclaration constructor

HTTypeAliasDeclaration({
  1. required String id,
  2. required HTType declType,
  3. String? classId,
  4. HTDeclarationNamespace? closure,
  5. HTSource? source,
  6. List<HTGenericTypeParameter> genericTypeParameters = const [],
  7. bool isExternal = false,
  8. bool isStatic = false,
  9. bool isConst = false,
  10. bool isMutable = false,
  11. bool isTopLevel = false,
})

Implementation

HTTypeAliasDeclaration({
  required String id,
  required HTType declType,
  super.classId,
  super.closure,
  super.source,
  this.genericTypeParameters = const [],
  super.isExternal = false,
  super.isStatic = false,
  super.isConst = false,
  super.isMutable = false,
  super.isTopLevel = false,
})  : _declType = declType,
      super(id: id);