PrefixTimeZonesMap class
A utility that maps phone number prefixes to a list of strings describing the time zones to which each prefix belongs.
Constructors
-
PrefixTimeZonesMap(List<
MapEntry< metadata)int, String> >
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
-
lookupCountryLevelTimeZonesForNumber(
PhoneNumber number) → List< String> -
Returns the list of time zones
number
's calling country code corresponds to. -
lookupTimeZonesForNumber(
PhoneNumber number) → List< String> - As per lookupTimeZonesForNumber(long), but receives the number as a PhoneNumber instead of a long.
-
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