hotelReservations static method

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

Implementation

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