totalTokens property

int get totalTokens

Returns the total tokens used in the prompt and completion

Implementation

int get totalTokens => promptTokens + completionTokens;