hotelRooms static method

UAdminAction hotelRooms(
  1. UHotelResponse h, {
  2. List<TagUser>? roles,
})

Implementation

static UAdminAction hotelRooms(UHotelResponse h, {List<TagUser>? roles}) => UAdminAction(
  label: U.s.rooms,
  icon: Icons.meeting_room_outlined,
  roles: roles,
  onTap: () => UAdminPageSwitcher.hotelRooms(hotel: h),
);