PhoneNumberType enum

Type of phone numbers.

Inheritance
Available extensions

Values

fixedLine → const PhoneNumberType
mobile → const PhoneNumberType
fixedLineOrMobile → const PhoneNumberType

In some regions (e.g. the USA), it is impossible to distinguish between fixed-line and mobile numbers by looking at the phone number itself.

tollFree → const PhoneNumberType

Freephone lines

premiumRate → const PhoneNumberType
sharedCost → const PhoneNumberType

The cost of this call is shared between the caller and the recipient, and is hence typically less than PREMIUM_RATE calls. See // http://en.wikipedia.org/wiki/Shared_Cost_Service for more information.

voip → const PhoneNumberType

Voice over IP numbers. This includes TSoIP (Telephony Service over IP).

personalNumber → const PhoneNumberType

A personal number is associated with a particular person, and may be routed to either a MOBILE or FIXED_LINE number. Some more information can be found here: http://en.wikipedia.org/wiki/Personal_Numbers

pager → const PhoneNumberType
uan → const PhoneNumberType

Used for 'Universal Access Numbers' or 'Company Numbers'. They may be further routed to specific offices, but allow one number to be used for a company.

voicemail → const PhoneNumberType

Used for 'Voice Mail Access Numbers'.

unknown → const PhoneNumberType

A phone number is of type UNKNOWN when it does not fit any of the known patterns for a specific region.

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<PhoneNumberType>
A constant List of the values in this enum, in order of their declaration.