phoneValid method
Implementation
bool phoneValid() {
if (this == null) return false;
RegExp exp = RegExp(r'^((1[0-9][0-9]))\d{8}$');
return exp.hasMatch(this!);
}
bool phoneValid() {
if (this == null) return false;
RegExp exp = RegExp(r'^((1[0-9][0-9]))\d{8}$');
return exp.hasMatch(this!);
}