ColumnSnapshot constructor

const ColumnSnapshot({
  1. required String name,
  2. required String type,
  3. required bool isNullable,
  4. bool primaryKey = false,
  5. bool autoIncrement = false,
  6. String? defaultValue,
  7. ForeignKeySnapshotRef? foreignKey,
})

Creates a snapshot of a single column.

Implementation

const ColumnSnapshot({
  required this.name,
  required this.type,
  required this.isNullable,
  this.primaryKey = false,
  this.autoIncrement = false,
  this.defaultValue,
  this.foreignKey,
});