validatePhoneWithCountryCode method
Check phone validation with country code
Implementation
bool validatePhoneWithCountryCode() =>
isEmptyOrNull ? false : hasMatch(this, r'(^(?:[+0]9)?[0-9]{10,12}$)');
Check phone validation with country code
bool validatePhoneWithCountryCode() =>
isEmptyOrNull ? false : hasMatch(this, r'(^(?:[+0]9)?[0-9]{10,12}$)');