FunctionProxy.throttle constructor

FunctionProxy.throttle(
  1. Function target, {
  2. String? key,
  3. int timeout = 500,
})

Implementation

factory FunctionProxy.throttle(
  Function target, {
  String? key,
  int timeout = 500,
}) =>
    FunctionProxy(target, timeout: timeout)..throttle(uniqueKey: key);