$TokenUsage.fromJson constructor
$TokenUsage.fromJson(
- Map json_
Implementation
$TokenUsage.fromJson(core.Map json_)
: this(
cacheCount: json_['cacheCount'] as core.String?,
candidateCount: json_['candidateCount'] as core.String?,
promptCount: json_['promptCount'] as core.String?,
thinkingCount: json_['thinkingCount'] as core.String?,
toolUsePromptCount: json_['toolUsePromptCount'] as core.String?,
);