toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (promptTokensDetails != null)
'promptTokensDetails': promptTokensDetails!,
if (totalBillableCharacters != null)
'totalBillableCharacters': totalBillableCharacters!,
if (totalTokens != null) 'totalTokens': totalTokens!,
};