CountryCodeSource enum

  • Enumeration CountryCodeSource.
  • @enum {number}

i18n.phonenumbers.PhoneNumber.CountryCodeSource = { UNSPECIFIED: 0, FROM_NUMBER_WITH_PLUS_SIGN: 1, FROM_NUMBER_WITH_IDD: 5, FROM_NUMBER_WITHOUT_PLUS_SIGN: 10, FROM_DEFAULT_COUNTRY: 20 };

Inheritance

Constructors

CountryCodeSource({required int value})
const

Values

UNSPECIFIED → const CountryCodeSource
const CountryCodeSource(value: 0)
FROM_NUMBER_WITH_PLUS_SIGN → const CountryCodeSource
const CountryCodeSource(value: 1)
FROM_NUMBER_WITH_IDD → const CountryCodeSource
const CountryCodeSource(value: 5)
FROM_NUMBER_WITHOUT_PLUS_SIGN → const CountryCodeSource
const CountryCodeSource(value: 10)
FROM_DEFAULT_COUNTRY → const CountryCodeSource
const CountryCodeSource(value: 20)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
final

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

fromIndex(int? index) CountryCodeSource

Constants

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