BudgetConfig class

Budget configuration for cost limiting

Constructors

BudgetConfig({double? perSession, double? perHour, double? perDay, String onBudgetExceeded = 'warn'})
Creates a BudgetConfig
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
onBudgetExceeded → String
Action when budget exceeded: 'error', 'warn', 'ignore'
final
perDay → double?
Maximum budget per day in USD
final
perHour → double?
Maximum budget per hour in USD
final
perSession → double?
Maximum budget per session in USD
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
toString() → String
A string representation of this object.
inherited

Operators

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