phoneLocally property
String
get
phoneLocally
Implementation
String get phoneLocally {
if (length < 6) return this;
String x = replaceAll(' ', '');
if (x.substring(0, 3) == '964') x = x.substring(3);
if (x.substring(0, 1) == '+') x = x.substring(1);
if (x.substring(0, 1) != '0') x = '0$x';
return x;
}