phone static method
Ensures the string is a valid phone number.
Implementation
static String? Function(String?) phone({
String errorMessage = 'Please enter a valid phone number',
}) {
return _build(errorMessage, (v) => v.isPhone);
}
Ensures the string is a valid phone number.
static String? Function(String?) phone({
String errorMessage = 'Please enter a valid phone number',
}) {
return _build(errorMessage, (v) => v.isPhone);
}