GoogleCloudAiplatformV1ExplainResponse.fromJson constructor

GoogleCloudAiplatformV1ExplainResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1ExplainResponse.fromJson(core.Map json_)
    : this(
        deployedModelId: json_.containsKey('deployedModelId')
            ? json_['deployedModelId'] as core.String
            : null,
        explanations: json_.containsKey('explanations')
            ? (json_['explanations'] as core.List)
                .map((value) => GoogleCloudAiplatformV1Explanation.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        predictions: json_.containsKey('predictions')
            ? json_['predictions'] as core.List
            : null,
      );