Class constructor
Class({
- String? name,
- LibraryRef? library,
- bool? isAbstract,
- bool? isConst,
- bool? traceAllocations,
- List<
InstanceRef> ? interfaces, - List<
FieldRef> ? fields, - List<
FuncRef> ? functions, - List<
ClassRef> ? subclasses, - required String id,
- SourceLocation? location,
- List<
InstanceRef> ? typeParameters, - ErrorRef? error,
- ClassRef? superClass,
- InstanceRef? superType,
- InstanceRef? mixin,
Implementation
Class({
this.name,
this.library,
this.isAbstract,
this.isConst,
this.traceAllocations,
this.interfaces,
this.fields,
this.functions,
this.subclasses,
required String id,
this.location,
this.typeParameters,
this.error,
this.superClass,
this.superType,
this.mixin,
}) : super(
id: id,
);