ContinentList.fromMap constructor
Implementation
factory ContinentList.fromMap(Map<String, dynamic> map) {
return ContinentList(
total: map['total'],
continents: List<Continent>.from(
map['continents'].map((p) => Continent.fromMap(p))),
);
}