allCountriesByCode top-level property

Map<String, CountryInfo> allCountriesByCode
final

Implementation

final allCountriesByCode =
    allCountries.map((e) => MapEntry(e.code, e)).toMapFromEntries();