BotStats class
Statistics about bot operation.
Constructors
Properties
- averageProcessingTime → Duration
-
Average time to process an update.
final
- errorRate → double
-
Error rate as a percentage.
no setter
- errorUpdates → int
-
Number of updates that resulted in errors.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastUpdateTime → DateTime?
-
Time of the last update.
final
- processedUpdates → int
-
Number of updates processed successfully.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startTime → DateTime?
-
When the bot was started.
final
- successRate → double
-
Success rate as a percentage.
no setter
- totalUpdates → int
-
Total number of updates received.
final
- updatesPerSecond → double
-
Updates per second (based on uptime).
no setter
- uptime → Duration
-
Uptime duration.
no setter
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