getCountryByIso3Code static method
Implementation
static Country? getCountryByIso3Code(String? iso3Code) {
try {
return countryList.firstWhere(
(country) => country.iso3Code.toLowerCase() == iso3Code?.toLowerCase(),
);
} catch (error) {
return null;
}
}