toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (learningRateParameterName != null)
        'learningRateParameterName': learningRateParameterName!,
      if (maxStepCount != null) 'maxStepCount': maxStepCount!,
      if (minMeasurementCount != null)
        'minMeasurementCount': minMeasurementCount!,
      if (minStepCount != null) 'minStepCount': minStepCount!,
      if (updateAllStoppedTrials != null)
        'updateAllStoppedTrials': updateAllStoppedTrials!,
      if (useElapsedDuration != null)
        'useElapsedDuration': useElapsedDuration!,
    };