ColumnDefinition constructor

const ColumnDefinition({
  1. required String name,
  2. required String field,
  3. required ScalarType type,
  4. bool nullable = false,
  5. bool primaryKey = false,
  6. bool identity = false,
  7. bool unique = false,
  8. Object? defaultValue,
  9. ForeignKey? references,
})

Implementation

const ColumnDefinition({
  required this.name,
  required this.field,
  required this.type,
  this.nullable = false,
  this.primaryKey = false,
  this.identity = false,
  this.unique = false,
  this.defaultValue,
  this.references,
});