Rank constructor

Rank({
  1. bool? hotStreak,
  2. int? wins,
  3. int? losses,
  4. String? rank,
  5. String? leagueId,
  6. String? tier,
  7. int? leaguePoints,
})

A Rank() instance to use to create a custom summoner or use it with the League() instance to get rank information.

Implementation

Rank({
  this.hotStreak,
  this.wins,
  this.losses,
  this.rank,
  this.leagueId,
  this.tier,
  this.leaguePoints,
});