Class constructor

Class({
  1. String? name,
  2. LibraryRef? library,
  3. bool? isAbstract,
  4. bool? isConst,
  5. bool? isSealed,
  6. bool? isMixinClass,
  7. bool? isBaseClass,
  8. bool? isInterfaceClass,
  9. bool? isFinal,
  10. bool? traceAllocations,
  11. List<InstanceRef>? interfaces,
  12. List<FieldRef>? fields,
  13. List<FuncRef>? functions,
  14. List<ClassRef>? subclasses,
  15. required String id,
  16. SourceLocation? location,
  17. List<InstanceRef>? typeParameters,
  18. ErrorRef? error,
  19. ClassRef? superClass,
  20. InstanceRef? superType,
  21. InstanceRef? mixin,
})

Implementation

Class({
  this.name,
  this.library,
  this.isAbstract,
  this.isConst,
  this.isSealed,
  this.isMixinClass,
  this.isBaseClass,
  this.isInterfaceClass,
  this.isFinal,
  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,
      );