ForeignKey constructor

const ForeignKey(
  1. String table,
  2. String column, {
  3. required String foreignTable,
  4. required String foreignTableColumn,
  5. bool nullable = false,
  6. ForeignKeyAction? onUpdate,
  7. ForeignKeyAction? onDelete,
  8. String? constraint,
})

Implementation

const ForeignKey(
  this.table,
  this.column, {
  required this.foreignTable,
  required this.foreignTableColumn,
  this.nullable = false,
  this.onUpdate,
  this.onDelete,
  this.constraint,
});