FieldSchema constructor
Describes a field of type. isRequired defaults to true; pass allowed
to restrict the value to a fixed set.
Audited: 2026-06-12 11:26 EDT
Implementation
const FieldSchema(this.type, {this.isRequired = true, this.allowed});