toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final algorithmHyperParameterRanges = this.algorithmHyperParameterRanges;
  final hpoObjective = this.hpoObjective;
  final hpoResourceConfig = this.hpoResourceConfig;
  return {
    if (algorithmHyperParameterRanges != null)
      'algorithmHyperParameterRanges': algorithmHyperParameterRanges,
    if (hpoObjective != null) 'hpoObjective': hpoObjective,
    if (hpoResourceConfig != null) 'hpoResourceConfig': hpoResourceConfig,
  };
}