call method
void
call(
- void action()
Executes the action immediately if not throttled, otherwise ignores the call.
Implementation
void call(void Function() action) {
if (!_isThrottled) {
action();
_isThrottled = true;
_timer = Timer(delay, () {
_isThrottled = false;
});
}
}