removeObserver method

void removeObserver(
  1. LifecycleObserver observer, [
  2. LifecycleState? endWith
])

Implementation

void removeObserver(LifecycleObserver observer, [LifecycleState? endWith]) =>
    removeLifecycleObserver(observer, willEnd: endWith);