validatePhone method

bool validatePhone()

Implementation

bool validatePhone() {
  return RegExp(r'(^(?:[+0]9)?[0-9]{10,12}$)').hasMatch(this);
}