isPhone property

bool get isPhone

Whether this string is a valid phone number.

Implementation

bool get isPhone => Validators.isPhone(this);