StateCounter class
- Implementers
Constructors
- StateCounter([String? name])
Properties
- count → double
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Delegates the creation of a key to the wrapped SingleValue. This is optional
no setter
- log → Logger
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
decrement(
) → void -
increment(
[double? amount]) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
predict(
double amount, {Duration? step}) → Future - Increments the value by a certain amount over a duration using an exponential backoff. Helps prevent large pauses while operations are / warming up.
-
reset(
) → void -
set(
double value) → void -
toString(
) → String -
A string representation of this object.
inherited
-
update(
double amount) → void -
updateRatio(
double ratio) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited