hasAllPermissions method

bool hasAllPermissions(
  1. List<String> permissions
)

Checks if the user has all of the specified permissions.

Implementation

bool hasAllPermissions(List<String> permissions) {
  return permissions.every(hasPermission);
}