stats method
Implementation
Future<GameStat> stats() async {
var url =
'https://$server.api.riotgames.com/lol/match/v4/matches/${this.gameID}?api_key=$apiToken';
var response = await http.get(
Uri.parse(url),
);
final matchList = json.decode(response.body);
//print(matchList);
return GameStat.fromJson(
json.decode(json.encode(matchList)), this.championName, this.summonerName);
}