menuItemManageAccount method

MenuItemModel menuItemManageAccount(
  1. String uniqueId,
  2. AppModel app,
  3. dynamic dialogID
)

Implementation

MenuItemModel menuItemManageAccount(
        String uniqueId, AppModel app, dialogID) =>
    MenuItemModel(
        documentID: dialogID,
        text: 'Manage your account',
        description: 'Manage your account',
        icon: IconModel(
            codePoint: Icons.account_box.codePoint,
            fontFamily: Icons.settings.fontFamily),
        action: OpenDialog(app,
            dialogID:
                constructDocumentId(uniqueId: uniqueId, documentId: dialogID),
            conditions: DisplayConditionsModel(
                privilegeLevelRequired:
                    PrivilegeLevelRequired.noPrivilegeRequired,
                packageCondition: CorePackage.mustBeLoggedIn)));