menuItemFollowRequestsPage function

dynamic menuItemFollowRequestsPage(
  1. AppModel app,
  2. dynamic documentID,
  3. dynamic pageID,
  4. dynamic privilegeLevelRequired,
)

Implementation

menuItemFollowRequestsPage(
        AppModel app, documentID, pageID, privilegeLevelRequired) =>
    MenuItemModel(
        documentID: documentID,
        text: 'Follow Requests',
        description: 'Follow Requests',
        icon: IconModel(
            codePoint: Icons.person.codePoint,
            fontFamily: Icons.notifications.fontFamily),
        action: GotoPage(app,
            pageID: pageID,
            conditions: DisplayConditionsModel(
                privilegeLevelRequired: privilegeLevelRequired,
                packageCondition:
                    FollowPackage.conditionMemberHasOpenRequests)));