Where<T> extension
Utilities to filter events.
- on
-
- Stream<
T>
- Stream<
Methods
-
asyncWhere(
FutureOr< bool> test(T)) → Stream<T> -
Available on Stream<
Discards events from this stream based on an asynchronousT> , provided by the Where extensiontest
callback. -
whereType<
S> () → Stream< S> -
Available on Stream<
Discards events from this stream that are not of typeT> , provided by the Where extensionS
.