markSynced method

void markSynced(
  1. String id
)

Mark the record with id as SyncStatus.synced.

Does nothing if the record does not exist.

Implementation

void markSynced(String id) {
  final record = _records[id];
  if (record != null) {
    _records[id] = record.withStatus(SyncStatus.synced);
  }
}