antiShake static method
Implementation
static antiShake(Function? doSomething,
{durationTime = deFaultDurationTime}) {
timer!.cancel();
timer = new Timer(Duration(milliseconds: durationTime), () {
doSomething!.call();
timer = null;
});
}