ChampionMasteryDTO class
This object contains single Champion Mastery information for player and champion combination.
- Annotations
-
- @JsonSerializable(createToJson: false)
Constructors
- ChampionMasteryDTO({required int championPointsUntilNextLevel, required bool chestGranted, required int championId, required int lastPlayTime, required int championLevel, required String summonerId, required int championPoints, required int championPointsSinceLastLevel, required int tokensEarned})
-
const
-
ChampionMasteryDTO.fromJson(Map<
String, dynamic> json) -
factory
Properties
- championId → int
-
Champion ID for this entry.
final
- championLevel → int
-
Champion level for specified player and champion combination.
final
- championPoints → int
-
Total number of champion points for this player and champion combination - they are used to determine championLevel.
final
- championPointsSinceLastLevel → int
-
Number of points earned since current level has been achieved.
final
- championPointsUntilNextLevel → int
-
Number of points needed to achieve next level.
final
- chestGranted → bool
-
Is chest granted for this champion or not in current season.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastPlayTime → int
-
Last time this champion was played by this player - in Unix milliseconds time format.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- summonerId → String
-
Summoner ID for this entry. (Encrypted)
final
- tokensEarned → int
-
The token earned for this champion at the current championLevel.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited