throttle method
Buffers all incoming T
events for a duration obtained via
durationFn
and emits them as a List<T> (unless there were none)
Implementation
DelayedStateNotifier<List<T>> throttle(Duration Function() durationFn) {
return _FunctionalStateNotifier<T, List<T>>(this, name: 'throttle')
.throttle(durationFn);
}