beginsWith method

FormValidator beginsWith(
  1. String prefix, {
  2. String? message,
})

Validate that the value begins with prefix

Implementation

FormValidator beginsWith(String prefix, {String? message}) {
  _addRule(FormRuleBeginsWith(prefix, message));
  return this;
}