RateLimitException.withTime constructor Null safety
- String retryAfter
Implementation
RateLimitException.withTime(String retryAfter) {
cause = sprintf('Request got rate limited for %s', [retryAfter]);
this.retryAfter = Duration(milliseconds: int.parse(retryAfter));
}