notifyListeners method Null safety

  1. @override
void notifyListeners()
override

Notify all the listeners, respecting our paused state falg

Implementation

@override
void notifyListeners() {
  if (!_paused) {
    super.notifyListeners();
  }
}