GoogleCloudAiplatformV1DirectPredictResponse.fromJson constructor

GoogleCloudAiplatformV1DirectPredictResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1DirectPredictResponse.fromJson(core.Map json_)
    : this(
        outputs: json_.containsKey('outputs')
            ? (json_['outputs'] as core.List)
                .map((value) => GoogleCloudAiplatformV1Tensor.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        parameters: json_.containsKey('parameters')
            ? GoogleCloudAiplatformV1Tensor.fromJson(
                json_['parameters'] as core.Map<core.String, core.dynamic>)
            : null,
      );