menuItemManageAccount method
MenuItemModel
menuItemManageAccount(
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)));