RateLimiter({this.maxConcurrent = 8, this.minInterval = Duration.zero}) : assert(maxConcurrent > 0, 'maxConcurrent must be positive');