validateEmailPhone static method
Implementation
static String? validateEmailPhone(String? v) {
if (v!.isEmpty) {
return Strings.fieldCantBeEmpty;
} else if (GetUtils.isNumericOnly(v)) {
return validatePhone(v);
} else {
return validateEmail(v);
}
}