isPhoneMobileValid static method
check for arabic number : ١٢٣٤٥٦٧٨٩٠ now return false
Implementation
static bool isPhoneMobileValid(String? str) {
if (isEmpty( str)) {
return false;
}
int len = str!.length;
if (len < 8) { //01012345678 or without countrycode "1012345678 saudi "512345678"
return false;
}
return true;
}