Field constructor

const Field({
  1. required TypeId type,
  2. String? name,
  3. String? typeName,
  4. required List<String> docs,
})

Creates a new field.

Implementation

const Field({required this.type, this.name, this.typeName, required this.docs});