getThoseMenuItems method
List<MenuItemModel>?
getThoseMenuItems(
)
Implementation
List<MenuItemModel>? getThoseMenuItems(AppModel app, String uniqueId) => [
MenuItemModel(
documentID: 'notifications',
text: 'Notifications',
description: 'Notifications',
icon: IconModel(
codePoint: Icons.notifications.codePoint,
fontFamily: Icons.notifications.fontFamily),
action: OpenDialog(app,
dialogID: constructDocumentId(
uniqueId: uniqueId,
documentId: notificationDashboardDialogId),
conditions: DisplayConditionsModel(
privilegeLevelRequired:
PrivilegeLevelRequired.noPrivilegeRequired,
packageCondition: NotificationsPackage
.conditionMemberHasUnreadNotifications,
conditionOverride: ConditionOverride
.inclusiveForBlockedMembers // allow blocked members to see
))),
];