Table constructor

const Table(
  1. String name,
  2. List<Column> columns, {
  3. List<Index> indexes = const [],
  4. String? viewName,
  5. bool localOnly = false,
})

Create a synced table.

Local changes are recorded, and remote changes are synced to the local table.

Implementation

const Table(this.name, this.columns,
    {this.indexes = const [], String? viewName, this.localOnly = false})
    : insertOnly = false,
      _viewNameOverride = viewName;