RateLimit constructor

RateLimit({
  1. num maxRequestsPerSecond,
  2. num remainingRequests,
  3. num timeUntilNextRequestMs,
  4. num timeUntilResetMs,
})

Implementation

external factory RateLimit({
  num maxRequestsPerSecond,
  num remainingRequests,
  num timeUntilNextRequestMs,
  num timeUntilResetMs,
});