Callback to allow arbitrary cleanup on dispose.
@override // ignore: prefer_void_to_null Future<Null> onDispose() async { if (_isInitialized) { _unregisterListeners(); } }