Tests whether text is a valid phone number.
text
static bool isPhoneNumber(String text) { var rc = false; if (text.isNotEmpty) { rc = regExprPhoneNumber.firstMatch(text) != null; } return rc; }