RoleCheck.any constructor

RoleCheck.any(
  1. Iterable<Role> roles,
  2. {String? name}
)

Create a new RoleCheck that succeeds if the user that created the context has any of roles.

You might also be interested in:

Implementation

RoleCheck.any(Iterable<Role> roles, {String? name})
    : this.anyId(roles.map((role) => role.id), name: name);