UserCheck.any constructor
Create a new UserCheck that succeeds if the context was created by any one of users
.
You might also be interested in:
- UserCheck.anyId, for creating this same check without instance of User.
Implementation
UserCheck.any(Iterable<User> users, {String? name})
: this.anyId(users.map((user) => user.id), name: name);