toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'passengers'] = this.passengers;
    json[r'selectedServices'] = this.selectedServices;
  if (this.maxPrice != null) {
    json[r'maxPrice'] = this.maxPrice;
  } else {
    json[r'maxPrice'] = null;
  }
  return json;
}