GameStat constructor

GameStat({
  1. int? gameCreation,
  2. int? gameDuration,
  3. int? seasonID,
  4. bool? win,
  5. int? kills,
  6. int? deaths,
  7. int? playerIDinGame,
  8. int? assists,
  9. int? cs,
  10. String? gameMode,
  11. List<Participant>? participants,
  12. dynamic data,
})

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

Implementation

GameStat(
    {this.gameCreation,
    this.gameDuration,
    this.seasonID,
    this.win,
    this.kills,
    this.deaths,
    this.playerIDinGame,
    this.assists,
    this.cs,
    this.gameMode,
    this.participants,
    this.data});