Class constructor

Class({
  1. required String name,
  2. required List<NamedType> fields,
  3. String? superClassName,
  4. Class? superClass,
  5. bool isSealed = false,
  6. bool isReferenced = true,
  7. bool isSwiftClass = false,
  8. List<String> documentationComments = const <String>[],
})

Parametric constructor for Class.

Implementation

Class({
  required this.name,
  required this.fields,
  this.superClassName,
  this.superClass,
  this.isSealed = false,
  this.isReferenced = true,
  this.isSwiftClass = false,
  this.documentationComments = const <String>[],
});