stopObservingAppLifecycle method

void stopObservingAppLifecycle()

Stop observing app lifecycle events

Implementation

void stopObservingAppLifecycle() {
  if (_observingAppLifecycle) {
    WidgetsBinding.instance.removeObserver(this);
    _observingAppLifecycle = false;
  }
}