countryList property
returns List<Map<String, dynamic>
of countries which contains
- num_code
- alpha_2_code
- alpha_3_code
- en_short_name
- nationality
- dial_code
- nameTranslations
{
"num_code": "566",
"alpha_2_code": "NG",
"alpha_3_code": "NGA",
"en_short_name": "Nigeria",
"nationality": "Nigerian",
"dial_code": "+234",
"nameTranslations": {
"sk": "Nigéria",
"se": "Nigeria",
"pl": "Nigeria",
"no": "Nigeria",
"ja": "ナイジェリア",
"it": "Nigeria",
"zh": "尼日利亚",
"nl": "Nigeria",
"de": "Nigeria",
"fr": "Nigéria",
"es": "Nigeria",
"en": "Nigeria",
"pt_BR": "Nigéria",
"sr-Cyrl": "Нигерија",
"sr-Latn": "Nigerija",
"zh_TW": "奈及利亞",
"ar": "نيجيريا"
}
}
Implementation
static List<Map<String, dynamic>> get countryList => _countryList;