PhoneNumberMetadataMap class
A mapping from a country calling code to the region codes which denote the region represented by that country calling code. In the case of multiple countries sharing a calling code, such as the NANPA regions, the one indicated with 'isMainCountryForCode' in the metadata should be first. Map<int, List<String>>
- Inheritance
-
- Object
- MetadataMapLoader
- PhoneNumberMetadataMap
- Implementers
Constructors
- PhoneNumberMetadataMap()
-
const
Properties
-
countryCodeToRegionCodeMap
→ Map<
String, List< String> > -
A mapping from a country calling code to the region codes which denote the
region represented by that country calling code. In the case of multiple
countries sharing a calling code, such as the NANPA regions, the one
indicated with 'isMainCountryForCode' in the metadata should be first.
Map<int, List<String>>
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getTerritory(
String code) → Map< String, Object?> ? -
override
-
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