Throttling constructor
Throttling({
- Duration duration = const Duration(seconds: 1),
Implementation
Throttling({Duration duration = const Duration(seconds: 1)})
: assert(!duration.isNegative),
_duration = duration {
_stateSC.sink.add(true);
}