GoogleCloudAiplatformV1PredictResponse.fromJson constructor

GoogleCloudAiplatformV1PredictResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1PredictResponse.fromJson(core.Map json_)
    : this(
        deployedModelId: json_.containsKey('deployedModelId')
            ? json_['deployedModelId'] as core.String
            : null,
        metadata: json_.containsKey('metadata') ? json_['metadata'] : null,
        model:
            json_.containsKey('model') ? json_['model'] as core.String : null,
        modelDisplayName: json_.containsKey('modelDisplayName')
            ? json_['modelDisplayName'] as core.String
            : null,
        modelVersionId: json_.containsKey('modelVersionId')
            ? json_['modelVersionId'] as core.String
            : null,
        predictions: json_.containsKey('predictions')
            ? json_['predictions'] as core.List
            : null,
      );