findLocation function

LatLng? findLocation({
  1. required String countryCode,
})

Gets the country's location from its countryCode.

The location data is extracted from : https://github.com/mledoze/countries.

Implementation

LatLng? findLocation({required String countryCode}) =>
    countries[countryCode.toLowerCase()];