GoogleCloudAiplatformV1StreamingPredictRequest.fromJson constructor

GoogleCloudAiplatformV1StreamingPredictRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1StreamingPredictRequest.fromJson(core.Map json_)
    : this(
        inputs: json_.containsKey('inputs')
            ? (json_['inputs'] 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,
      );