PrfRateLimiterStats class

Constructors

PrfRateLimiterStats.new({required double tokens, required DateTime lastRefill, required double maxTokens, required Duration refillDuration, required DateTime now, required double refillRatePerMs, required double refilledTokens, required double cappedTokenCount})
const

Properties

cappedTokenCount double
final
hashCode int
The hash code for this object.
no setterinherited
lastRefill DateTime
final
maxTokens double
final
now DateTime
final
refillDuration Duration
final
refilledTokens double
final
refillRatePerMs double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tokens double
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited