NamedType constructor

NamedType({
  1. required String name,
  2. required TypeDeclaration type,
  3. int? offset,
  4. String? defaultValue,
  5. List<String> documentationComments = const <String>[],
})

Parametric constructor for NamedType.

Implementation

NamedType({
  required this.name,
  required this.type,
  this.offset,
  this.defaultValue,
  this.documentationComments = const <String>[],
});