hasAnyPermission method

bool hasAnyPermission(
  1. List<String> permissions
)

Check if user has ANY of the given permissions.

Implementation

bool hasAnyPermission(List<String> permissions) =>
    permissions.any(hasPermissionString);