Game constructor

Game({
  1. String? lane,
  2. int? gameID,
  3. int? championID,
  4. int? time,
  5. String? summonerName,
  6. String? championName,
  7. Future<GameStat>? gameStat,
  8. String? apiToken,
  9. String? server,
})

A Game() instance to use to create a custom Game or use it with the League() instance to get the latest Game information.

Implementation

Game({
  this.lane,
  this.gameID,
  this.championID,
  this.time,
  this.summonerName,
  this.championName,
  this.gameStat,
  this.apiToken,
  this.server,
});