InputType constructor

const InputType({
  1. required String name,
  2. InputConstraints? constraints,
  3. required List<SchemaArg> fields,
  4. Map<String, SchemaArg>? fieldMap,
})

Create a new input type.

Implementation

const InputType({
  required this.name,
  this.constraints,
  required this.fields,
  this.fieldMap,
});