FieldWithValue<T> constructor

FieldWithValue<T>(
  1. String? columnName, {
  2. bool? notNull,
  3. bool? isUnique,
  4. T? defaultValue,
  5. String? jsonMapName,
  6. Type? jsonMapType,
})

Create an instance of FieldWithValue

Implementation

FieldWithValue(this.columnName,
    {this.notNull,
    this.isUnique,
    T? defaultValue,
    this.jsonMapName,
    this.jsonMapType})
    : super._() {
  value = defaultValue;
}