toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (maxFailedTrialCount != null)
        'maxFailedTrialCount': maxFailedTrialCount!,
      if (maxParallelTrialCount != null)
        'maxParallelTrialCount': maxParallelTrialCount!,
      if (maxTrialCount != null) 'maxTrialCount': maxTrialCount!,
      if (searchTrialJobSpec != null)
        'searchTrialJobSpec': searchTrialJobSpec!,
    };