countryCode method

Validator countryCode({
  1. String? message,
})

Validates a standard E.164 country dial code.

Implementation

Validator countryCode({String? message}) {
  _rules.add(CountryCodeRule(message ?? _messages.countryCode));
  return this;
}