menuItemAppMembersPage function

MenuItemModel menuItemAppMembersPage(
  1. String uniqueId,
  2. AppModel app,
  3. dynamic pageID,
  4. dynamic privilegeLevelRequired,
)

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),
        ));