toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final categoricalHyperParameterRanges =
      this.categoricalHyperParameterRanges;
  final continuousHyperParameterRanges = this.continuousHyperParameterRanges;
  final integerHyperParameterRanges = this.integerHyperParameterRanges;
  return {
    if (categoricalHyperParameterRanges != null)
      'categoricalHyperParameterRanges': categoricalHyperParameterRanges,
    if (continuousHyperParameterRanges != null)
      'continuousHyperParameterRanges': continuousHyperParameterRanges,
    if (integerHyperParameterRanges != null)
      'integerHyperParameterRanges': integerHyperParameterRanges,
  };
}