SchemaField constructor

const SchemaField({
  1. required String name,
  2. bool? isNullable,
  3. required SchemaType outputType,
  4. required List<SchemaArg> args,
  5. Deprecation? deprecation,
  6. String? documentation,
})

Create a new schema field.

Implementation

const SchemaField({
  required this.name,
  this.isNullable,
  required this.outputType,
  required this.args,
  this.deprecation,
  this.documentation,
});