c static method
Implementation
static void c(Function() func, String key,
{Duration delay = const Duration(milliseconds: 2000)}) {
Timer? timer = _debounce[key];
if (timer?.isActive ?? false) {
_debounce.remove(key);
timer?.cancel();
}
_debounce[key] = Timer(delay, func);
}