Continents.fromJson constructor
Implementation
Continents.fromJson(Map<String, dynamic> json) {
code = json["code"];
name = json["name"];
countries =
List<Country>.from(json["countries"].map((x) => Country.fromJson(x)));
links = Links.fromJson(json["_links"]);
}