rateLimitReset property

DateTime? rateLimitReset

The time at which the current rate limit window resets.

Updated with every request.

Will be null if no requests have been made yet.

Implementation

DateTime? get rateLimitReset => _rateLimitReset == null
    ? null
    : DateTime.fromMillisecondsSinceEpoch(_rateLimitReset! * 1000,
        isUtc: true);