Ensures the value exactly matches one of the items in the provided list.
Validator inList(List<String> values, {String? message}) { _rules.add(InListRule(values, message ?? _messages.inList)); return this; }