menuItemHasAccess method

Future<bool> menuItemHasAccess(
  1. MenuItemModel item
)

Implementation

Future<bool> menuItemHasAccess(MenuItemModel item) async {
  try {
    var action = item.action!;
    return actionHasAccess(action);
  } catch (_) {
    return false;
  }
}