Class constructor

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

Parametric constructor for Class.

Implementation

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