Type constructor

const Type({
  1. Input<String>? edition,
  2. Input<List<Field>>? fields,
  3. Input<String>? name,
  4. Input<List<String>>? oneofs,
  5. Input<List<Option>>? options,
  6. Input<SourceContext>? sourceContext,
  7. Input<TypeSyntax>? syntax,
})

Creates a new Type. edition The source edition string, only valid when syntax is SYNTAX_EDITIONS. fields The list of fields. name The fully qualified message name. oneofs The list of types appearing in oneof definitions in this type. options The protocol buffer options. sourceContext The source context. syntax The source syntax.

Implementation

const Type({
  this.edition,
  this.fields,
  this.name,
  this.oneofs,
  this.options,
  this.sourceContext,
  this.syntax,
});