Table constructor

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

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,
  this.ignoreEmptyUpdates = false,
  this.trackMetadata = false,
  this.trackPreviousValues,
})  : insertOnly = false,
      _viewNameOverride = viewName;