PhoneNumber.isoCode constructor

PhoneNumber.isoCode(
  1. String isoCode,
  2. String nationalNumber
)

Create PhoneNumber instance using country found by given isoCode and nationalNumber

Implementation

factory PhoneNumber.isoCode(String isoCode, String nationalNumber) {
  return PhoneNumber(Country.fromCode(isoCode), nationalNumber);
}