RateLimiter constructor

RateLimiter({
  1. int requests = 5,
  2. Duration per = const Duration(seconds: 1),
})

Implementation

RateLimiter({this.requests = 5, this.per = const Duration(seconds: 1)});