RateLimitInfo class
Information about rate limit status.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isExceeded → bool
-
Whether the rate limit has been exceeded.
no setter
- key → String
-
The key that was rate limited.
final
- maxRequests → int
-
Maximum requests allowed per window.
final
- remaining → int
-
Number of remaining requests in the current window.
no setter
- requestCount → int
-
Number of requests made in the current window.
final
- resetAt → DateTime
-
Timestamp when the window resets.
final
- resetInMs → int
-
Time remaining until the window resets (in milliseconds).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited