toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'query': query,
    'building': building,
    'category': category,
    'city': city,
    'pageNum': pageNum,
    'pageSize': pageSize,
    'cityLimit': cityLimit,
    'requireSubPois': requireSubPois,
    'distanceSort': distanceSort,
    'location': location?.toJson(),
    'requireExtension': requireExtension,
    'searchBound': searchBound?.toJson(),
  };
}