StateNotifierX<T> extension
Functional utilities for StateNotifier
- on
Methods
-
map<
R> (R convert(T)) → DelayedStateNotifier< R> -
Maps events of type
T
onto events of typeR
viaconvert
-
throttle(
Duration durationFn()) → DelayedStateNotifier< List< T> > -
Buffers all incoming
T
events for a duration obtained viadurationFn
and emits them as aList<T>
(unless there were none) -
where(
bool test(T)) → DelayedStateNotifier< T> -
Filters incoming events by
test