c static method
Implementation
static void c(Function() func, String key,
{Duration delay = const Duration(milliseconds: 2000)}) async {
if (_throttle.contains(key)) return;
_throttle.add(key);
func.call();
await Future.delayed(delay);
_throttle.remove(key);
}