UHotelCreateParams constructor

UHotelCreateParams({
  1. required List<int> tags,
  2. required String title,
  3. required String cityCode,
  4. int stars = 0,
  5. String? id,
  6. String? creatorId,
  7. String? detail1,
  8. String? detail2,
  9. List<String>? adminUserIds,
  10. String? address,
  11. String? phoneNumber,
  12. String? email,
  13. String? description,
  14. String? policies,
  15. String? checkInTime,
  16. String? checkOutTime,
  17. List<String>? highlights,
  18. List<String>? rules,
  19. String? howToGetThere,
  20. List<UPlaceNearby>? nearby,
  21. List<UPlaceFaq>? faqs,
  22. String? website,
  23. String? whatsapp,
  24. String? instagram,
  25. String? telegram,
  26. double? latitude,
  27. double? longitude,
  28. int? cancellationFreeHours,
  29. int? cancellationPenaltyNights,
})

Implementation

UHotelCreateParams({
  required this.tags,
  required this.title,
  required this.cityCode,
  this.stars = 0,
  this.id,
  this.creatorId,
  this.detail1,
  this.detail2,
  this.adminUserIds,
  this.address,
  this.phoneNumber,
  this.email,
  this.description,
  this.policies,
  this.checkInTime,
  this.checkOutTime,
  this.highlights,
  this.rules,
  this.howToGetThere,
  this.nearby,
  this.faqs,
  this.website,
  this.whatsapp,
  this.instagram,
  this.telegram,
  this.latitude,
  this.longitude,
  this.cancellationFreeHours,
  this.cancellationPenaltyNights,
});