Ensures the value ends with a specific suffix.
Validator endsWith(String suffix, {String? message}) { _rules.add(EndsWithRule(suffix, message ?? _messages.endsWith)); return this; }