GoogleCloudAiplatformV1ComputeTokensResponse.fromJson constructor

GoogleCloudAiplatformV1ComputeTokensResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1ComputeTokensResponse.fromJson(core.Map json_)
    : this(
        tokensInfo: (json_['tokensInfo'] as core.List?)
            ?.map((value) => GoogleCloudAiplatformV1TokensInfo.fromJson(
                value as core.Map<core.String, core.dynamic>))
            .toList(),
      );