StateNotifierX<T> extension

Functional utilities for StateNotifier

on

Methods

map<R>(R convert(T)) DelayedStateNotifier<R>
Maps events of type T onto events of type R via convert
throttle(Duration durationFn()) DelayedStateNotifier<List<T>>
Buffers all incoming T events for a duration obtained via durationFn and emits them as a List<T> (unless there were none)
where(bool test(T)) DelayedStateNotifier<T>
Filters incoming events by test