insertServerOwnedRow method

  1. @visibleForTesting
void insertServerOwnedRow(
  1. T row, {
  2. int querySetId = 0,
})

Implementation

@visibleForTesting
void insertServerOwnedRow(T row, {int querySetId = 0}) {
  final primaryKey = decoder.getPrimaryKey(row);
  insertRow(row);
  if (primaryKey != null) {
    _rowOwners.putIfAbsent(primaryKey, () => <int>{}).add(querySetId);
  }
}