DataField constructor

DataField(
  1. FieldType type,
  2. String layoutName,
  3. String name, {
  4. bool nullable = false,
  5. int? length,
})

Implementation

DataField(this.type, this.layoutName, this.name,
    {this.nullable = false, int? length})
    : length = length ?? getDefaultLength(type);