RegionInfo class
Phone number region information
- Annotations
Constructors
- RegionInfo({required String name, required String code, required int prefix})
-
const
-
RegionInfo.fromJson(Map<
String, dynamic> json) -
factory
Properties
- code → String
-
ISO 3166-1 alpha-2 codes are two-letter country codes defined in ISO 3166-1,
part of the ISO 3166 standard
1
published by the International Organization for Standardization (ISO), to represent countries, dependent territories, and special areas of geographical interest.final - hashCode → int
-
The hash code for this object.
no setteroverride
- name → String
-
Localized name for the country.
final
- prefix → int
-
By convention, international telephone numbers are represented by prefixing the country code
with a plus sign (+), which also indicates to the subscriber that the local international
call prefix must first be dialed. Example: (USA) +1
final
- 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override