Type constructor

Type({
  1. String name = '',
  2. List<Field> fields = const [],
  3. List<String> oneofs = const [],
  4. List<Option> options = const [],
  5. SourceContext? sourceContext,
  6. Syntax syntax = Syntax.$default,
  7. String edition = '',
})

Implementation

Type({
  this.name = '',
  this.fields = const [],
  this.oneofs = const [],
  this.options = const [],
  this.sourceContext,
  this.syntax = Syntax.$default,
  this.edition = '',
}) : super(fullyQualifiedName);