GoogleCloudAiplatformV1CountTokensResponse.fromJson constructor
GoogleCloudAiplatformV1CountTokensResponse.fromJson(
- Map json_
Implementation
GoogleCloudAiplatformV1CountTokensResponse.fromJson(core.Map json_)
: this(
totalBillableCharacters: json_.containsKey('totalBillableCharacters')
? json_['totalBillableCharacters'] as core.int
: null,
totalTokens: json_.containsKey('totalTokens')
? json_['totalTokens'] as core.int
: null,
);