MRECountry class final Phone

A country or region with a phone dial code.

Get one from MRECountries. Two countries are equal when their ISO codes are: a dial code can belong to several countries (+1 is the United States, Canada and others), so the ISO code is the key.

Annotations

Properties

dialCode → String
The dial code without the plus, such as 20.
final
dialCodeWithPlus → String
The dial code with the plus, such as +20.
no setter
flag → String
The flag as an emoji, built from the ISO code.
no setter
hashCode → int
The hash code for this object.
no setteroverride
isoCode → String
The two-letter ISO 3166 code, such as EG.
final
name → String
The English name. Show your own language with a nameBuilder.
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