PhoneNumberFormatter class

Constructors

PhoneNumberFormatter()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

format(String nsn, IsoCode isoCode, [PhoneNumberFormat format = PhoneNumberFormat.international]) → String
Formats nsn as format.
formatNsn(String nsn, IsoCode isoCode, [NsnFormat format = NsnFormat.national]) → String
Formats nsn for display, either in its national form (with the national prefix) or in its international form (without it).