CountryDetails class

Constructors

CountryDetails.fromMap(Map<String, dynamic> data, [String? localizedCountryName])

Properties

alpha2Code String?
ISO 3166 alpha 2 code Example: US, PT
final
alpha3Code String?
ISO 3166 alpha 3 code Example: USA, PRT
final
dialCode String?
Dial code represents a global phone prefix for the region Example: +1, +351
final
hashCode int
The hash code for this object.
no setterinherited
localizedName String?
Extended country name based on a region language
final
name String?
Extended country name in its own language
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.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited