toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.facetRanges != null) {
json[r'facet_ranges'] = this.facetRanges;
} else {
json[r'facet_ranges'] = null;
}
if (this.facetFields != null) {
json[r'facet_fields'] = this.facetFields;
} else {
json[r'facet_fields'] = null;
}
if (this.facetQueries != null) {
json[r'facet_queries'] = this.facetQueries;
} else {
json[r'facet_queries'] = null;
}
return json;
}