toJson method
Returns a Map from the current PlacesModel.
Implementation
Map<String, dynamic> toJson() => {
'id': id,
'name': name,
'address': address,
'city': city,
'country': country,
'description': description,
'ratings': ratings,
'amenities': amenities,
'price': price,
'latitude': latitude,
'longitude': longitude,
'sourceLink': sourceLink
};