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