UHotelJson constructor

UHotelJson({
  1. String? detail1,
  2. String? detail2,
  3. String? description,
  4. String? policies,
  5. String? checkInTime,
  6. String? checkOutTime,
  7. List<String> highlights = const <String>[],
  8. List<String> rules = const <String>[],
  9. String? howToGetThere,
  10. List<UPlaceNearby> nearby = const <UPlaceNearby>[],
  11. List<UPlaceFaq> faqs = const <UPlaceFaq>[],
  12. String? website,
  13. String? whatsapp,
  14. String? instagram,
  15. String? telegram,
  16. double? latitude,
  17. double? longitude,
  18. int cancellationFreeHours = 24,
  19. int cancellationPenaltyNights = 1,
})

Implementation

UHotelJson({
  this.detail1,
  this.detail2,
  this.description,
  this.policies,
  this.checkInTime,
  this.checkOutTime,
  this.highlights = const <String>[],
  this.rules = const <String>[],
  this.howToGetThere,
  this.nearby = const <UPlaceNearby>[],
  this.faqs = const <UPlaceFaq>[],
  this.website,
  this.whatsapp,
  this.instagram,
  this.telegram,
  this.latitude,
  this.longitude,
  this.cancellationFreeHours = 24,
  this.cancellationPenaltyNights = 1,
});