phoneNumber static method
Creates a PhoneNumber validation rule. This rule checks if a string is a valid phone number. It can include a custom validation message.
Implementation
static ValidationRule<String> phoneNumber({String? message}) =>
PhoneNumber(message: message);