Country enum

An enum that contains the country code for each country.

Inheritance

Constructors

Country({required String code})
const

Values

none → const Country
const Country(code: '')
afghanistan → const Country
const Country(code: 'af')
alandislands → const Country
const Country(code: 'ax')
albania → const Country
const Country(code: 'al')
algeria → const Country
const Country(code: 'dz')
americansamoa → const Country
const Country(code: 'as')
andorra → const Country
const Country(code: 'ad')
angolia → const Country
const Country(code: 'ao')
anguilla → const Country
const Country(code: 'ai')
antarctica → const Country
const Country(code: 'aq')
antiguaandbarbuda → const Country
const Country(code: 'ag')
argentina → const Country
const Country(code: 'ar')
armenia → const Country
const Country(code: 'am')
aruba → const Country
const Country(code: 'aw')
australia → const Country
const Country(code: 'au')
austria → const Country
const Country(code: 'at')
azerbaijan → const Country
const Country(code: 'az')
bahamas → const Country
const Country(code: 'bs')
bahrain → const Country
const Country(code: 'bh')
bangladesh → const Country
const Country(code: 'bd')
barbados → const Country
const Country(code: 'bb')
belarus → const Country
const Country(code: 'by')
belgium → const Country
const Country(code: 'be')
belize → const Country
const Country(code: 'bz')
benin → const Country
const Country(code: 'bj')
bermuda → const Country
const Country(code: 'bm')
bhutan → const Country
const Country(code: 'bt')
bolivia → const Country
const Country(code: 'bo')
bonaire → const Country
const Country(code: 'bq')
bosniaAndHerzegovina → const Country
const Country(code: 'ba')
botswana → const Country
const Country(code: 'bw')
bouvetisland → const Country
const Country(code: 'bv')
brazil → const Country
const Country(code: 'br')
britishIndianOceanTerrirory → const Country
const Country(code: 'io')
britishVirginIslands → const Country
const Country(code: 'vg')
bruneiDarussalam → const Country
const Country(code: 'bn')
bulgaria → const Country
const Country(code: 'bg')
burkinafaso → const Country
const Country(code: 'bf')
burundi → const Country
const Country(code: 'bi')
caboverde → const Country
const Country(code: 'cv')
cambodia → const Country
const Country(code: 'kh')
cameroon → const Country
const Country(code: 'cm')
canada → const Country
const Country(code: 'ca')
caymanIslands → const Country
const Country(code: 'ky')
centralAfricanRepublic → const Country
const Country(code: 'cf')
chad → const Country
const Country(code: 'td')
chile → const Country
const Country(code: 'cl')
china → const Country
const Country(code: 'cn')
christmasIsland → const Country
const Country(code: 'cx')
cocosIslands → const Country
const Country(code: 'cc')
colombia → const Country
const Country(code: 'co')
comoros → const Country
const Country(code: 'km')
congo → const Country
const Country(code: 'cg')
congoDemocraticRepublicof → const Country
const Country(code: 'cd')
cookIslands → const Country
const Country(code: 'ck')
costarica → const Country
const Country(code: 'cr')
coteDivoire → const Country
const Country(code: 'ci')
croatia → const Country
const Country(code: 'hr')
cuba → const Country
const Country(code: 'cu')
curacao → const Country
const Country(code: 'cw')
cyprus → const Country
const Country(code: 'cy')
czechia → const Country
const Country(code: 'cz')
denmark → const Country
const Country(code: 'dk')
djibouti → const Country
const Country(code: 'dj')
dominica → const Country
const Country(code: 'dm')
dominicanRepublic → const Country
const Country(code: 'do')
ecuador → const Country
const Country(code: 'ec')
egypt → const Country
const Country(code: 'eg')
elSalvador → const Country
const Country(code: 'sv')
equatorialGuinea → const Country
const Country(code: 'gq')
eritrea → const Country
const Country(code: 'er')
estonia → const Country
const Country(code: 'ee')
ethiopia → const Country
const Country(code: 'et')
falklandIslands → const Country
const Country(code: 'fk')
faroeIslands → const Country
const Country(code: 'fo')
fiji → const Country
const Country(code: 'fj')
finland → const Country
const Country(code: 'fi')
france → const Country
const Country(code: 'fr')
frenchGuiana → const Country
const Country(code: 'gf')
frenchPolynesia → const Country
const Country(code: 'pf')
frenchSouthernTerritories → const Country
const Country(code: 'tf')
gabon → const Country
const Country(code: 'ga')
gambia → const Country
const Country(code: 'gm')
georgia → const Country
const Country(code: 'ge')
germany → const Country
const Country(code: 'de')
ghana → const Country
const Country(code: 'gh')
gibraltar → const Country
const Country(code: 'gi')
greece → const Country
const Country(code: 'gr')
greenland → const Country
const Country(code: 'gl')
grenada → const Country
const Country(code: 'gd')
guadeloupe → const Country
const Country(code: 'gp')
guam → const Country
const Country(code: 'gu')
guatemala → const Country
const Country(code: 'gt')
guernsey → const Country
const Country(code: 'gg')
guinea → const Country
const Country(code: 'gn')
guineaBissau → const Country
const Country(code: 'gw')
guyana → const Country
const Country(code: 'gy')
haiti → const Country
const Country(code: 'ht')
heardIslandAndMcDonaldIslands → const Country
const Country(code: 'hm')
honduras → const Country
const Country(code: 'hn')
hongKong → const Country
const Country(code: 'hk')
hungary → const Country
const Country(code: 'hu')
iceland → const Country
const Country(code: 'is')
india → const Country
const Country(code: 'in')
indonesia → const Country
const Country(code: 'id')
iran → const Country
const Country(code: 'ir')
iraq → const Country
const Country(code: 'iq')
ireland → const Country
const Country(code: 'ie')
isleOfMan → const Country
const Country(code: 'im')
israel → const Country
const Country(code: 'il')
italy → const Country
const Country(code: 'it')
jamaica → const Country
const Country(code: 'jm')
japan → const Country
const Country(code: 'jp')
jersey → const Country
const Country(code: 'je')
jordan → const Country
const Country(code: 'jo')
kazakhstan → const Country
const Country(code: 'kz')
kenya → const Country
const Country(code: 'ke')
kiribati → const Country
const Country(code: 'ki')
kuwait → const Country
const Country(code: 'kw')
kyrgyzstan → const Country
const Country(code: 'kg')
laos → const Country
const Country(code: 'la')
latvia → const Country
const Country(code: 'lv')
lebanon → const Country
const Country(code: 'lb')
lesotho → const Country
const Country(code: 'ls')
liberia → const Country
const Country(code: 'lr')
libya → const Country
const Country(code: 'ly')
liechtenstein → const Country
const Country(code: 'li')
lithuania → const Country
const Country(code: 'lt')
luxembourg → const Country
const Country(code: 'lu')
macao → const Country
const Country(code: 'mo')
macedonia → const Country
const Country(code: 'mk')
madagascar → const Country
const Country(code: 'mg')
malawi → const Country
const Country(code: 'mw')
malaysia → const Country
const Country(code: 'my')
maldives → const Country
const Country(code: 'mv')
mali → const Country
const Country(code: 'ml')
malta → const Country
const Country(code: 'mt')
marshallIslands → const Country
const Country(code: 'mh')
martinique → const Country
const Country(code: 'mq')
mauritania → const Country
const Country(code: 'mr')
mauritius → const Country
const Country(code: 'mu')
mayotte → const Country
const Country(code: 'yt')
mexico → const Country
const Country(code: 'mx')
micronesia → const Country
const Country(code: 'fm')
moldova → const Country
const Country(code: 'md')
monaco → const Country
const Country(code: 'mc')
mongolia → const Country
const Country(code: 'mn')
montenegro → const Country
const Country(code: 'me')
montserrat → const Country
const Country(code: 'ms')
morocco → const Country
const Country(code: 'ma')
mozambique → const Country
const Country(code: 'mz')
myanmar → const Country
const Country(code: 'mm')
namibia → const Country
const Country(code: 'na')
nauru → const Country
const Country(code: 'nr')
nepal → const Country
const Country(code: 'np')
netherlands → const Country
const Country(code: 'nl')
newCaledonia → const Country
const Country(code: 'nc')
newZealand → const Country
const Country(code: 'nz')
nicaragua → const Country
const Country(code: 'ni')
niger → const Country
const Country(code: 'ne')
nigeria → const Country
const Country(code: 'ng')
niue → const Country
const Country(code: 'nu')
norfolkIsland → const Country
const Country(code: 'nf')
northKorea → const Country
const Country(code: 'kp')
northernMarianaIslands → const Country
const Country(code: 'mp')
norway → const Country
const Country(code: 'no')
oman → const Country
const Country(code: 'om')
pakistan → const Country
const Country(code: 'pk')
palau → const Country
const Country(code: 'pw')
palestine → const Country
const Country(code: 'ps')
panama → const Country
const Country(code: 'pa')
papuaNewGuinea → const Country
const Country(code: 'pg')
paraguay → const Country
const Country(code: 'py')
peru → const Country
const Country(code: 'pe')
philippines → const Country
const Country(code: 'ph')
pitcairn → const Country
const Country(code: 'pn')
poland → const Country
const Country(code: 'pl')
portugal → const Country
const Country(code: 'pt')
puertoRico → const Country
const Country(code: 'pr')
qatar → const Country
const Country(code: 'qa')
reunion → const Country
const Country(code: 're')
romania → const Country
const Country(code: 'ro')
russianFederation → const Country
const Country(code: 'ru')
rwanda → const Country
const Country(code: 'rw')
saintBarthelemy → const Country
const Country(code: 'bl')
saintHelena → const Country
const Country(code: 'sh')
saintKittsAndNevis → const Country
const Country(code: 'kn')
saintLucia → const Country
const Country(code: 'lc')
saintMartin → const Country
const Country(code: 'mf')
saintPierreAndMiquelon → const Country
const Country(code: 'pm')
saintVincentAndTheGrenadines → const Country
const Country(code: 'vc')
samoa → const Country
const Country(code: 'ws')
sanMarino → const Country
const Country(code: 'sm')
saoTomeAndPrincipe → const Country
const Country(code: 'st')
saudiArabia → const Country
const Country(code: 'sa')
senegal → const Country
const Country(code: 'sn')
serbia → const Country
const Country(code: 'rs')
seychelles → const Country
const Country(code: 'sc')
sierraLeone → const Country
const Country(code: 'sl')
singapore → const Country
const Country(code: 'sg')
sintMaarten → const Country
const Country(code: 'sx')
slovakia → const Country
const Country(code: 'sk')
slovenia → const Country
const Country(code: 'si')
solomonIslands → const Country
const Country(code: 'sb')
somalia → const Country
const Country(code: 'so')
southAfrica → const Country
const Country(code: 'za')
southGeorgiaAndTheSouthSandwichIslands → const Country
const Country(code: 'gs')
southKorea → const Country
const Country(code: 'kr')
southSudan → const Country
const Country(code: 'ss')
spain → const Country
const Country(code: 'es')
sriLanka → const Country
const Country(code: 'lk')
sudan → const Country
const Country(code: 'sd')
suriname → const Country
const Country(code: 'sr')
svalbardAndJanMayen → const Country
const Country(code: 'sj')
swaziland → const Country
const Country(code: 'sz')
sweden → const Country
const Country(code: 'se')
switzerland → const Country
const Country(code: 'ch')
syrianArabRepublic → const Country
const Country(code: 'sy')
taiwan → const Country
const Country(code: 'tw')
tajikistan → const Country
const Country(code: 'tj')
tanzania → const Country
const Country(code: 'tz')
thailand → const Country
const Country(code: 'th')
timorLeste → const Country
const Country(code: 'tl')
togo → const Country
const Country(code: 'tg')
tokelau → const Country
const Country(code: 'tk')
tonga → const Country
const Country(code: 'to')
trinidadAndTobago → const Country
const Country(code: 'tt')
tunisia → const Country
const Country(code: 'tn')
turkey → const Country
const Country(code: 'tr')
turkmenistan → const Country
const Country(code: 'tm')
turksAndCaicosIslands → const Country
const Country(code: 'tc')
tuvalu → const Country
const Country(code: 'tv')
uganda → const Country
const Country(code: 'ug')
ukraine → const Country
const Country(code: 'ua')
unitedArabEmirates → const Country
const Country(code: 'ae')
unitedKingdom → const Country
const Country(code: 'gb')
unitedStates → const Country
const Country(code: 'us')
unitedStatesMinorOutlyingIslands → const Country
const Country(code: 'um')
uruguay → const Country
const Country(code: 'uy')
usVirginIslands → const Country
const Country(code: 'vi')
uzbekistan → const Country
const Country(code: 'uz')
vanuatu → const Country
const Country(code: 'vu')
vaticanCity → const Country
const Country(code: 'va')
venezuela → const Country
const Country(code: 've')
vietNam → const Country
const Country(code: 'vn')
wallisAndFutuna → const Country
const Country(code: 'wf')
westernSahara → const Country
const Country(code: 'eh')
yemen → const Country
const Country(code: 'ye')
zambia → const Country
const Country(code: 'zm')
zimbabwe → const Country
const Country(code: 'zw')

Properties

code String
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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

Constants

values → const List<Country>
A constant List of the values in this enum, in order of their declaration.