GoogleCloudMlV1CompleteTrialRequest.fromJson constructor

GoogleCloudMlV1CompleteTrialRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudMlV1CompleteTrialRequest.fromJson(core.Map json_)
    : this(
        finalMeasurement: json_.containsKey('finalMeasurement')
            ? GoogleCloudMlV1Measurement.fromJson(json_['finalMeasurement']
                as core.Map<core.String, core.dynamic>)
            : null,
        infeasibleReason: json_.containsKey('infeasibleReason')
            ? json_['infeasibleReason'] as core.String
            : null,
        trialInfeasible: json_.containsKey('trialInfeasible')
            ? json_['trialInfeasible'] as core.bool
            : null,
      );