Where<T> extension

Utilities to filter events.

on

Methods

asyncWhere(FutureOr<bool> test(T)) Stream<T>
Discards events from this stream based on an asynchronous test callback.
whereType<S>() Stream<S>
Discards events from this stream that are not of type S.