passes method
Implementation
bool passes(String event, Map<String, dynamic> payload) {
if (eventToWaiters.has(event)) {
List<SingleEventWaiter> waiters = eventToWaiters.get(event);
for (SingleEventWaiter waiter in waiters) {
if (waiter.passes(event, payload)) {
return true;
}
}
}
return false;
}