PlacesModel constructor
PlacesModel({ - required int id,
- required String name,
- required String address,
- String? city,
- String? country,
- String? description,
- double? ratings,
- String? amenities,
- String? price,
- required double latitude,
- required double longitude,
- String? sourceLink,
})
Implementation
PlacesModel({
required this.id,
required this.name,
required this.address,
this.city,
this.country,
this.description,
this.ratings,
this.amenities,
this.price,
required this.latitude,
required this.longitude,
this.sourceLink
});