toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.hotelIds != null) {
json[r'hotelIds'] = this.hotelIds;
} else {
json[r'hotelIds'] = null;
}
if (this.location != null) {
json[r'location'] = this.location;
} else {
json[r'location'] = null;
}
return json;
}