getMobileNationalFormatter static method

PhoneNumberFormatter getMobileNationalFormatter(
  1. Country country
)

Implementation

static PhoneNumberFormatter getMobileNationalFormatter(Country country) {
  return PhoneNumberFormatter(
    country: country,
    phoneNumberType: libphone.PhoneNumberType.mobile,
    phoneNumberFormat: libphone.PhoneNumberFormat.national,
    inputContainsCountryCode: true,
  );
}