byCode static method
gets country by Alpha2 code for more see : https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
Implementation
static Country byCode(String code) {
Country country = _countryData.countries.where((c) => c.alpha2Code == code).first;
return country;
}