Column constructor

const Column({
  1. String? name,
  2. bool primaryKey = false,
  3. bool nullable = true,
  4. bool unique = false,
  5. String? defaultValue,
  6. int? length,
  7. ColumnType columnType = ColumnType.text,
})

Implementation

const Column({
  this.name,
  this.primaryKey = false,
  this.nullable = true,
  this.unique = false,
  this.defaultValue,
  this.length,
  this.columnType = ColumnType.text,
});