LocationGameIndex.fromJson constructor
Implementation
LocationGameIndex.fromJson(Map<String, dynamic> json) {
generation = json['generation'] != null
? NamedAPIResource.fromJson(json['generation'])
: null;
gameIndex = json['game_index'];
}