Class constructor

Class({
  1. String? name,
  2. LibraryRef? library,
  3. bool? isAbstract,
  4. bool? isConst,
  5. bool? traceAllocations,
  6. List<InstanceRef>? interfaces,
  7. List<FieldRef>? fields,
  8. List<FuncRef>? functions,
  9. List<ClassRef>? subclasses,
  10. required String id,
  11. SourceLocation? location,
  12. List<InstanceRef>? typeParameters,
  13. ErrorRef? error,
  14. ClassRef? superClass,
  15. InstanceRef? superType,
  16. 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,
      );