PhoneNumberOfflineGeocoder class

An offline geocoder which provides geographical information related to a phone number.

Constructors

PhoneNumberOfflineGeocoder(Map<int, List<String>> configData, Map<String, Map<int, String>> locations)

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

getDescriptionForNumber(PhoneNumber number, Locale languageCode, [String? userRegion]) String
As per getDescriptionForValidNumber(PhoneNumber, Locale, String) but explicitly checks the validity of the number passed in.
getDescriptionForValidNumber(PhoneNumber number, Locale languageCode, [String? userRegion]) String
Returns a text description for the given phone number, in the language provided. The description might consist of the name of the country where the phone number is from, or the name of the geographical area the phone number is from if more detailed information is available.
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 Properties

instance PhoneNumberOfflineGeocoder
no setter