toForeignKeyInfo method

ForeignKeyInfo toForeignKeyInfo()

Converts the reference to the ForeignKeyInfo the DDL generators consume.

Implementation

ForeignKeyInfo toForeignKeyInfo() {
  return ForeignKeyInfo(
    referencedTable: referencedTable,
    referencedColumn: referencedColumn,
    onDelete: onDelete,
    onUpdate: onUpdate,
  );
}