RateLimitPolicy.unlimited constructor

RateLimitPolicy.unlimited()

Creates a RateLimitPolicy which represents an unlimited rate limit.

Implementation

factory RateLimitPolicy.unlimited() =>
    RateLimitPolicy(limitCount: -1, window: Duration.zero);