toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allMetrics != null) 'allMetrics': allMetrics!,
      if (builtInAlgorithmOutput != null)
        'builtInAlgorithmOutput': builtInAlgorithmOutput!,
      if (endTime != null) 'endTime': endTime!,
      if (finalMetric != null) 'finalMetric': finalMetric!,
      if (hyperparameters != null) 'hyperparameters': hyperparameters!,
      if (isTrialStoppedEarly != null)
        'isTrialStoppedEarly': isTrialStoppedEarly!,
      if (startTime != null) 'startTime': startTime!,
      if (state != null) 'state': state!,
      if (trialId != null) 'trialId': trialId!,
      if (webAccessUris != null) 'webAccessUris': webAccessUris!,
    };