miguelpruivo / country_codes

Country codes is an helper package that provides country details given a particular localization, such as dial codes, ISO 3166 codes (alpha-2, alpha-3) and country names.
MIT License
29 stars 34 forks source link

No country should lack a name, dialCode or alpha2Code #19

Closed wizlif closed 2 years ago

wizlif commented 2 years ago

For data accuracy on CountryDetails i thought no country could lack a name, dialCode or alpha2Code,

This will reduce the number of null checks to do around the three. i also added a unit test to make sure of this.