isValidPhone method

bool isValidPhone()

Implementation

bool isValidPhone() => RegExp(r'^[0-9]{10,13}$').hasMatch(this);