CelmBudgetUse class

What a run has spent.

Retries and escalations are counted apart. They are different events and are bounded separately: asking for help is not the same as failing, and a run is not nearer to its end for having asked.

Constructors

CelmBudgetUse({required int attemptsSpent, required int attemptsAllowed, required int escalationsSpent, required int escalationsAllowed, required Duration elapsed})
const
CelmBudgetUse.fromJson(Map<String, dynamic> json)
factory

Properties

attemptsAllowed int
final
attemptsSpent int
final
elapsed Duration
final
escalationsAllowed int
final
escalationsSpent int
final
hashCode int
The hash code for this object.
no setterinherited
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