FieldDescription constructor

FieldDescription({
  1. required String name,
  2. required FieldType fieldType,
})

Creates a new field description object with the specified name and type.

Parameters:

  • name — The field's name.
  • fieldType — The field's data type.