hasAccess method
Implementation
@override
Future<bool> hasAccess(BuildContext context, ActionModel action) async {
var accessState = AccessBloc.getState(context);
if (accessState is AccessDetermined) {
return accessState.actionHasAccess(action);
}
return true;
}