ColumnSchema constructor

const ColumnSchema(
  1. String name, {
  2. required String type,
  3. bool isNullable = false,
  4. bool? isAutoIncrement,
})

Implementation

const ColumnSchema(this.name,
    {required this.type, this.isNullable = false, bool? isAutoIncrement})
    : isAutoIncrement = isAutoIncrement ?? (type == 'serial');