profileDrawerMenuDef method
MenuDefModel
profileDrawerMenuDef(
)
override
Implementation
@override
MenuDefModel profileDrawerMenuDef() {
List<MenuItemModel> menuItems = [];
menuItems.add(MenuItemModel(
documentID: "1",
text: "Other apps",
description: "Other apps",
action: InternalAction(EliudApp.app,
internalActionEnum: InternalActionEnum.otherApps)));
menuItems.add(menuItemSignOut(app, "2"));
menuItems.add(menuItemManageAccount(app, "4", MemberDashboard.identifier));
MenuDefModel menu = MenuDefModel(
documentID: defaults.drawerID(theApp.documentID, DrawerType.right),
appId: eliudAppId,
name: "Drawer Profile Menu",
menuItems: menuItems);
return menu;
}