menuItemAppMembersPage function
MenuItemModel
menuItemAppMembersPage(
Implementation
MenuItemModel menuItemAppMembersPage(
String uniqueId, AppModel app, pageID, privilegeLevelRequired) =>
MenuItemModel(
documentID: constructDocumentId(uniqueId: uniqueId, documentId: pageID),
text: 'App Members',
description: 'Members of the app',
icon: IconModel(
codePoint: Icons.people.codePoint,
fontFamily: Icons.notifications.fontFamily),
action: GotoPage(
app,
conditions: DisplayConditionsModel(
privilegeLevelRequired: privilegeLevelRequired,
packageCondition: CorePackage.mustBeLoggedIn),
pageID: constructDocumentId(uniqueId: uniqueId, documentId: pageID),
));