init method

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

Implementation

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