endsWith method

FormValidator endsWith(
  1. String suffix, {
  2. String? message,
})

Validate that the value ends with suffix

Implementation

FormValidator endsWith(String suffix, {String? message}) {
  _addRule(FormRuleEndsWith(suffix, message));
  return this;
}