Pokemon.fromJson constructor
Implementation
factory Pokemon.fromJson(Map<String, dynamic> json) => Pokemon(
count: json["count"],
next: json["next"],
previous: json["previous"],
pokeDetails: List<PokeDetail>.from(json["results"].map((x) => PokeDetail.fromJson(x))),
);