isValid method
validates a phone number by first checking its length then pattern matching
Implementation
bool isValid({PhoneNumberType? type}) =>
Validator.validateWithPattern(isoCode, nsn, type);
validates a phone number by first checking its length then pattern matching
bool isValid({PhoneNumberType? type}) =>
Validator.validateWithPattern(isoCode, nsn, type);