fromNational static method
Parses a national
phone number given a country code and returns
a PhoneNumber
This is useful for when you know in advance that a phone number is a national version. For example in a phone number input with two inputs for the country code and national number
alias for PhoneParser.fromNational
Implementation
static PhoneNumber fromNational(
String countryCode,
String national,
) =>
PhoneParser.fromNational(countryCode, national);