Game.fromJson constructor
Implementation
factory Game.fromJson(Map<String, dynamic> json) {
return Game(
gameID: json['gameID'] as int,
name: json['name'] as String,
logo: Media.fromJson(json['logo'] as Map<String, dynamic>),
gameURL: json['gameURL'] as String,
gameType: json['gameType'] as String,
);
}