Field constructor

const Field(
  1. String name,
  2. String jsonName,
  3. FieldType type
)

Implementation

const Field(this.name, this.jsonName, this.type);