pause method

  1. @mustCallSuper
void pause()

Pauses the subscription to CustomProviderListenable.source., stopping it from being notified of any change until resume is called.

Implementation

@mustCallSuper
void pause() {
  if (!_pauser._isPaused) {
    _pauser.pause();
    // Using deactivate so that internal pause/resume are not impacted by external pause/resume
    _outerSub?.deactivate();
  }
}