getMenuItemsFor method
List<MenuItemModel> ?
getMenuItemsFor(
- String uniqueId,
- AppModel app,
- NewAppWizardParameters parameters,
- MenuType type,
override
Implementation
@override
List<MenuItemModel>? getMenuItemsFor(String uniqueId, AppModel app,
NewAppWizardParameters parameters, MenuType type) {
if (parameters is MembershipDashboardWizardParameters) {
if (parameters.membershipDashboardSpecifications.should(type)) {
return getThoseMenuItems(
uniqueId,
app,
);
}
} else {
throw Exception('Unexpected class for parameters: $parameters');
}
return null;
}