RateLimitException.withTime constructor
RateLimitException.withTime(
- String retryAfter
Implementation
RateLimitException.withTime(String retryAfter) {
cause = 'Request got rate limited for $retryAfter';
this.retryAfter = Duration(milliseconds: int.parse(retryAfter));
}