didStopListening method Null safety
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);
}
}