menu
generate_ai_dart package
documentation
internal/api/Response.dart
CountTokensResponse
toJson method
toJson method
dark_mode
light_mode
toJson
method
@
override
Map
<
String
,
dynamic
>
toJson
(
)
override
Implementation
@override Map<String, dynamic> toJson() { return {'totalTokens': totalTokens}; }
generate_ai_dart package
documentation
internal/api/Response
CountTokensResponse
toJson method
CountTokensResponse class