Rate.perSecond constructor
Rate.perSecond(
- int maximum
Creates a rate limit per second.
Implementation
factory Rate.perSecond(int maximum) => Rate(maximum, Duration(seconds: 1));
Creates a rate limit per second.
factory Rate.perSecond(int maximum) => Rate(maximum, Duration(seconds: 1));