resume method

void resume()

Unpause and emit the most recent pending snapshot (if any).

Implementation

void resume() {
  if (_disposed || !_paused) return;
  _paused = false;
  final pending = _pendingSnapshot;
  final wasWatching = _pendingWatching;
  _pendingSnapshot = null;
  _pendingWatching = false;
  if (pending != null) {
    _applySnapshot(pending, watching: wasWatching);
  }
}