commitOptimisticUpdates method
void
commitOptimisticUpdates()
Implementation
void commitOptimisticUpdates() {
// After the batcher completes, all optimistically updated snapshots can be
// marked as no longer optimistic.
for (final snap in _batchOpimisticSnapshots) {
snap.isOptimistic = false;
}
_batchOpimisticSnapshots.clear();
}