constrained method

ForeignKey constrained({
  1. String? name,
})

Implementation

ForeignKey constrained({String? name}) => ForeignKey(table, column,
    foreignTable: foreignTable,
    foreignTableColumn: foreignTableColumn,
    nullable: nullable,
    onUpdate: onUpdate,
    onDelete: onDelete,
    constraint: name ??
        'fk_${table}_${column}_to_${foreignTable}_$foreignTableColumn');