didStartListening method Null safety

  1. @override
void didStartListening()
override

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

Implementation

@override
void didStartListening() {
  parent.addStatusListener(_statusChangeHandler);
}