NsnFormat enum

The formats PhoneNumberFormatter.formatNsn can write, kept for the deprecated formatNsn methods. Prefer PhoneNumberFormat.

Inheritance
Available extensions

Values

national → const NsnFormat

The national format, with the national prefix: 0477 88 99 22.

international → const NsnFormat

The format used for international dialing, without the national prefix.

nationalWithoutPrefix → const NsnFormat

The national format without the national prefix: 477 88 99 22.

Same grouping as national, so it is what a text field shows when the country dial code is displayed next to it: the two together read as a valid international number.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Constants

values → const List<NsnFormat>
A constant List of the values in this enum, in order of their declaration.