toJson method
Implementation
Map<String, dynamic> toJson() {
final data = <String, dynamic>{};
data['pageCount'] = this.pageCount;
data['bound'] = this.bound?.toJson();
if (this.pois != null) {
data['pois'] = this.pois?.map((v) => v.toJson()).toList();
}
if (this.query != null) {
data['query'] = this.query?.toJson();
}
if (this.searchSuggestionCitys != null) {
data['searchSuggestionCitys'] = this.searchSuggestionCitys?.map((v) => v.toJson()).toList();
}
if (this.searchSuggestionKeywords != null) {
data['searchSuggestionKeywords'] = this.searchSuggestionKeywords;
}
return data;
}