ChatUsage class

Available extensions
Annotations
  • @artifact

Constructors

ChatUsage.new({int inputTokens = 0, int outputTokens = 0})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
inputTokens int
final
outputTokens int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({_5? inputTokens, _o resetInputTokens = _F, _5? deltaInputTokens, _5? outputTokens, _o resetOutputTokens = _F, _5? deltaOutputTokens}) → _j

Available on _j, provided by the $ChatUsage extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({bool pretty = _F}) → _3

Available on _j, provided by the $ChatUsage extension

toMap() → _1

Available on _j, provided by the $ChatUsage extension

toString() String
A string representation of this object.
inherited

Operators

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