UHotelResponse constructor

UHotelResponse({
  1. required String id,
  2. required DateTime createdAt,
  3. required UHotelJson jsonData,
  4. required List<int> tags,
  5. required String title,
  6. required String cityCode,
  7. int stars = 0,
  8. String? address,
  9. String? phoneNumber,
  10. String? email,
  11. List<String> adminUserIds = const <String>[],
  12. UUserResponse? creator,
  13. String? creatorId,
  14. List<UHotelRoomResponse>? rooms,
  15. List<UHotelReservationResponse>? reservations,
  16. List<UMediaResponse>? media,
})

Implementation

UHotelResponse({
  required this.id,
  required this.createdAt,
  required this.jsonData,
  required this.tags,
  required this.title,
  required this.cityCode,
  this.stars = 0,
  this.address,
  this.phoneNumber,
  this.email,
  this.adminUserIds = const <String>[],
  this.creator,
  this.creatorId,
  this.rooms,
  this.reservations,
  this.media,
});