throttle method

VoidCallback throttle({
  1. int timeout = 0,
})

事件回调节流

Implementation

VoidCallback throttle({int timeout = 0}) {
  return FunctionProxy(this, timeout: timeout).throttle;
}