module static method

UAdminModule module({
  1. List<TagUser>? roles,
  2. UHotelResponse? hotel,
})

Implementation

static UAdminModule module({List<TagUser>? roles, UHotelResponse? hotel}) => UAdminModule(
  title: hotel == null ? U.s.hotelRooms : "${U.s.rooms} ยท ${hotel.title}",
  icon: Icons.meeting_room_rounded,
  page: () => UAdminHotelRoomPage(hotel: hotel),
  roles: roles,
);