BulkColumnSpec constructor

BulkColumnSpec({
  1. required String name,
  2. required BulkColumnType colType,
  3. bool nullable = false,
  4. int maxLen = 0,
})

Creates a new BulkColumnSpec instance.

The name is the column name. The colType specifies the data type. The nullable flag indicates if the column can contain NULL values. The maxLen specifies the maximum length for variable-length types.

Implementation

BulkColumnSpec({
  required this.name,
  required this.colType,
  this.nullable = false,
  this.maxLen = 0,
});