ForeignKey constructor
const
ForeignKey(
- String table,
- String column, {
- required String foreignTable,
- required String foreignTableColumn,
- bool nullable = false,
- ForeignKeyAction? onUpdate,
- ForeignKeyAction? onDelete,
- String? constraint,
Implementation
const ForeignKey(
this.table,
this.column, {
required this.foreignTable,
required this.foreignTableColumn,
this.nullable = false,
this.onUpdate,
this.onDelete,
this.constraint,
});