translation method

String translation(
  1. String countryCode
)

Convenient getter for translation.

Returns a 'Unknown Country value if country code was not found.

Implementation

String translation(String countryCode) =>
    _localizedCountries[countryCode] ?? 'Unknown Country';