changeCountry method

dynamic changeCountry(
  1. IsoCode isoCode
)

Implementation

changeCountry(IsoCode isoCode) {
  _value = PhoneNumber.parse(
    _value.nsn,
    destinationCountry: isoCode,
  );
  _changeFormattedNationalNumber(_value.formatNsn());
  notifyListeners();
}