ThrottleSettings class
The API request rate limits.
Constructors
- ThrottleSettings({int? burstLimit, double? rateLimit})
-
ThrottleSettings.fromJson(Map<
String, dynamic> json) -
factory
Properties
- burstLimit → int?
-
The API request burst limit, the maximum rate limit over a time ranging from
one to a few seconds, depending upon whether the underlying token bucket is
at its full capacity.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- rateLimit → double?
-
The API request steady-state rate limit.
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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited