formatNsn static method
Formats nsn for display, either in its national form (with the
national prefix) or in its international form (without it).
Implementation
@Deprecated('Use [format] with [PhoneNumberFormat.national] instead')
static String formatNsn(
String nsn,
IsoCode isoCode, [
NsnFormat format = NsnFormat.national,
]) =>
_formatNsn(nsn, isoCode, format);