CountTokensResponse.fromJson constructor

CountTokensResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CountTokensResponse.fromJson(Map<String, dynamic> json) {
  return CountTokensResponse(totalTokens: json['totalTokens']);
}