GoogleCloudAiplatformV1StreamingPredictResponse.fromJson constructor

GoogleCloudAiplatformV1StreamingPredictResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1StreamingPredictResponse.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,
      );