toJson method
Returns a Map from the current SavedToursModel.
Implementation
Map<String, dynamic> toJson() => {
'query': query,
'places': places.map((place) => place.toJson()).toList(),
'country': country,
'city': city,
'isGenerated': isGenerated,
};