CountryInfo class

Inheritance

Constructors

CountryInfo({String countryCode, String name, String englishName, bool isHidden, List<String> callingCodes})
Contains information about a country
CountryInfo.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

callingCodes List<String>
callingCodes List of country calling codes
read / write
countryCode String
countryCode A two-letter ISO 3166-1 alpha-2 country code
read / write
englishName String
englishName English name of the country
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
isHidden bool
isHidden True, if the country should be hidden from the list of all countries
read / write
name String
name Native name of the country
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
inherited

Operators

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

Constants

CONSTRUCTOR → const String
'countryInfo'