pause method

void pause()

Stop emitting snapshots until resume is called. Watch subscription stays alive; the most recent snapshot received while paused replays on resume. Useful for inactive tabs in UiViewMulti.

Implementation

void pause() {
  if (_disposed || _paused) return;
  _paused = true;
}