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