GameStat class
Constructors
-
GameStat({int? gameCreation, int? gameDuration, int? seasonID, bool? win, int? kills, int? deaths, int? playerIDinGame, int? assists, int? cs, String? gameMode, List<
Participant> ? participants, 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.
-
GameStat.fromJson(Map<
String, dynamic> json, String? name, String? summonerID) -
factory
Properties
- assists → int?
-
final
- cs → int?
-
final
- data → dynamic
-
final
- deaths → int?
-
final
- gameCreation → int?
-
final
- gameDuration → int?
-
final
- gameMode → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- kills → int?
-
final
-
participants
→ List<
Participant> ? -
This list contains a Participant() Instance List with the number of actual players in a game.
e.g. in a ranked game it would be 10 long (0-9).
final
- playerIDinGame → int?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seasonID → int?
-
final
- win → bool?
-
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