TableUpdate.onTable constructor

TableUpdate.onTable(
  1. TableInfo<Table, dynamic> table, {
  2. UpdateKind? kind,
})

Creates a TableUpdate instance based on a TableInfo instead of the raw name.

Implementation

factory TableUpdate.onTable(TableInfo table, {UpdateKind? kind}) {
  return TableUpdate(table.actualTableName, kind: kind);
}