CountriesResponse.fromJson constructor
Implementation
factory CountriesResponse.fromJson(Map<String, dynamic> json) =>
CountriesResponse(
countries: json["countries"] == null
? []
: List<Country>.from(
json["countries"]!.map((x) => Country.fromJson(x))),
);