didStopListening method

  1. @override
void didStopListening()
override

Called when the number of listeners changes from one to zero.

Implementation

@override
void didStopListening() {
  if (_parent != null) {
    _parent!.removeListener(notifyListeners);
    _parent!.removeStatusListener(notifyStatusListeners);
  }
}