isValidPhone property
bool
get
isValidPhone
Implementation
bool get isValidPhone {
if (this == null) return false;
return RegExp(r'^\+?[\d-]{10,}$').hasMatch(this!);
}
bool get isValidPhone {
if (this == null) return false;
return RegExp(r'^\+?[\d-]{10,}$').hasMatch(this!);
}