HyperParameterRanges.fromJson constructor
HyperParameterRanges.fromJson(
- Map<String, dynamic> json
)
Implementation
factory HyperParameterRanges.fromJson(Map<String, dynamic> json) {
return HyperParameterRanges(
categoricalHyperParameterRanges:
(json['categoricalHyperParameterRanges'] as List?)
?.whereNotNull()
.map((e) => CategoricalHyperParameterRange.fromJson(
e as Map<String, dynamic>))
.toList(),
continuousHyperParameterRanges: (json['continuousHyperParameterRanges']
as List?)
?.whereNotNull()
.map((e) =>
ContinuousHyperParameterRange.fromJson(e as Map<String, dynamic>))
.toList(),
integerHyperParameterRanges: (json['integerHyperParameterRanges']
as List?)
?.whereNotNull()
.map((e) =>
IntegerHyperParameterRange.fromJson(e as Map<String, dynamic>))
.toList(),
);
}