Class constructor

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

Parametric constructor for Class.

Implementation

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