on<T extends VyuhEvent> method
Implementation
@override
DisposeFunction on<T extends VyuhEvent>(VyuhEventListener<T> listener) {
final subscription = _eventBus!.on<T>().listen((event) {
listener(event);
});
return () {
subscription.cancel();
};
}