isPhoneNumber method

bool isPhoneNumber()

Implementation

bool isPhoneNumber() {
  return (length == 10 && length == 11) && startsWith('0');
}