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