toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (endTimeMs != null) 'endTimeMs': endTimeMs!,
      if (errorMessage != null) 'errorMessage': errorMessage!,
      if (evalLoss != null) 'evalLoss': evalLoss!,
      if (evaluationMetrics != null) 'evaluationMetrics': evaluationMetrics!,
      if (hparamTuningEvaluationMetrics != null)
        'hparamTuningEvaluationMetrics': hparamTuningEvaluationMetrics!,
      if (hparams != null) 'hparams': hparams!,
      if (startTimeMs != null) 'startTimeMs': startTimeMs!,
      if (status != null) 'status': status!,
      if (trainingLoss != null) 'trainingLoss': trainingLoss!,
      if (trialId != null) 'trialId': trialId!,
    };