Country.code2Letters constructor
Implementation
factory Country.code2Letters(String code2Letters, String namel10n) {
if (code2Letters.isNotEmpty &&
countriesFrench.keys.any((element) => element == code2Letters) ==
false) {
print('$code2Letters unknown country code');
throw 'unknown country code';
} else if (code2Letters.isEmpty) {
return Country.empty;
} else {
return Country._(code2Letters, namel10n);
}
}