toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final candidatesTokenCount = this.candidatesTokenCount;
final promptTokenCount = this.promptTokenCount;
final similarityToLastQuery = this.similarityToLastQuery;
final similarityToLastQueryThreshold = this.similarityToLastQueryThreshold;
final thinkingBudgetTokens = this.thinkingBudgetTokens;
final thinkingLevel = this.thinkingLevel;
final totalTokenCount = this.totalTokenCount;
return {
'candidatesTokenCount': ?candidatesTokenCount,
'promptTokenCount': ?promptTokenCount,
'similarityToLastQuery': ?similarityToLastQuery,
'similarityToLastQueryThreshold': ?similarityToLastQueryThreshold,
'thinkingBudgetTokens': ?thinkingBudgetTokens,
'thinkingLevel': ?thinkingLevel,
'totalTokenCount': ?totalTokenCount,
};
}