countryDataToJson function
Implementation
String countryDataToJson(List<CountryData> data) =>
json.encode(List<dynamic>.from(data.map((x) => x.toJson())));
String countryDataToJson(List<CountryData> data) =>
json.encode(List<dynamic>.from(data.map((x) => x.toJson())));