markSynced method
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);
}
}