where method
Filters the events
It extends the current builder so that only inputs
that pass the test
clause will be kept for the EventHandler.
Implementation
EventSubscriptionBuilder<T> where(bool Function(T event) test) {
return _WhereEventSubscriptionBuilder(parent: this, test: test);
}