copyWith method
LLMInputOutputTokensUsage
copyWith({
- LLMTokensCategoryUsage? input,
- LLMTokensCategoryUsage? inputCacheRead,
- LLMTokensCategoryUsage? inputCacheWrite,
- LLMTokensCategoryUsage? outputTotal,
Implementation
LLMInputOutputTokensUsage copyWith(
{LLMTokensCategoryUsage? input,
LLMTokensCategoryUsage? inputCacheRead,
LLMTokensCategoryUsage? inputCacheWrite,
LLMTokensCategoryUsage? outputTotal}) {
return LLMInputOutputTokensUsage(
input: input ?? this.input,
inputCacheRead: inputCacheRead ?? this.inputCacheRead,
inputCacheWrite: inputCacheWrite ?? this.inputCacheWrite,
outputTotal: outputTotal ?? this.outputTotal);
}