throttle method

Throttle throttle(
  1. Duration delay
)

Creates a throttled version of the function

Implementation

Throttle throttle(Duration delay) {
  final throttler = Throttle(delay);
  return throttler;
}