init method

void init({
  1. UHotelResponse? hotel,
  2. UHotelRoomResponse? room,
})

Implementation

void init({UHotelResponse? hotel, UHotelRoomResponse? room}) {
  this.hotel = hotel;
  this.room = room;
  read();
}