toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  "prompt_tokens": promptTokens,
  "completion_tokens": completionTokens,
  "total_tokens": totalTokens,
};