on method
Implementation
StreamSubscription on(QueueEventAction action, void Function(QueueEvent) event) {
return _eventStream
.where((event) => event.action == action)
.listen(event);
}
StreamSubscription on(QueueEventAction action, void Function(QueueEvent) event) {
return _eventStream
.where((event) => event.action == action)
.listen(event);
}