formatNsn static method

  1. @Deprecated('Use [format] with [PhoneNumberFormat.national] instead')
String formatNsn(
  1. String nsn,
  2. IsoCode isoCode, [
  3. NsnFormat format = NsnFormat.national
])

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);