countryLocale top-level constant

Map<String, CountryKey> const countryLocale

Map for this plugin's country key to dart's country code https://pub.dev/documentation/locales/latest/locales/Locale-class.html

Implementation

const Map<String, CountryKey> countryLocale = {
  'US': CountryKey.USA,
  'GB': CountryKey.UK,
  'DE': CountryKey.Germany,
  'FR': CountryKey.France,
  'JP': CountryKey.Japan,
  'CA': CountryKey.Canada,
  'CN': CountryKey.China,
  'IT': CountryKey.Italy,
  'ES': CountryKey.Spain,
  'IN': CountryKey.India,
  'BR': CountryKey.Brazil,
  'MX': CountryKey.Mexico,
  'AU': CountryKey.Australia,
};