throttle method

Throttle throttle(
  1. Duration delay
)

Creates a Throttle instance for this function with the specified delay.

Implementation

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