Game class
Constructors
-
Game({String? lane, int? gameID, int? championID, int? time, String? summonerName, String? championName, Future<
GameStat> ? gameStat, String? apiToken, 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.
-
Game.fromJson(Map<
String, dynamic> json, String apiToken, String? summonerName, String? server) -
factory
Properties
- apiToken → String?
-
final
- championID → int?
-
final
- championName → String?
-
final
- gameID → int?
-
final
-
gameStat
→ Future<
GameStat> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lane → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- server → String?
-
final
- summonerName → String?
-
final
- time → int?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
stats(
) → Future< GameStat> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited