GoogleCloudAiplatformV1NasJobOutputMultiTrialJobOutput.fromJson constructor

GoogleCloudAiplatformV1NasJobOutputMultiTrialJobOutput.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1NasJobOutputMultiTrialJobOutput.fromJson(
    core.Map json_)
    : this(
        searchTrials: json_.containsKey('searchTrials')
            ? (json_['searchTrials'] as core.List)
                .map((value) => GoogleCloudAiplatformV1NasTrial.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        trainTrials: json_.containsKey('trainTrials')
            ? (json_['trainTrials'] as core.List)
                .map((value) => GoogleCloudAiplatformV1NasTrial.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );