InfoDTO class
- Annotations
-
- @JsonSerializable(createToJson: false)
Constructors
-
InfoDTO({required int gameCreation, required int gameDuration, required int gameEndTimestamp, required int gameId, required String gameMode, required String gameName, required int gameStartTimestamp, required String? gameType, required String? gameVersion, required int mapId, required List<
ParticipantDTO> participants, required String? platformId, required int queueId, required List<MatchTeamDTO> teams, required String? tournamentCode}) -
const
-
InfoDTO.fromJson(Map<
String, dynamic> json) -
factory
Properties
- gameCreation → int
-
Unix timestamp for when the game is created on the game server (i.e., the loading screen).
final
- gameDuration → int
-
Prior to patch 11.20, this field returns the game length in
milliseconds calculated from gameEndTimestamp - gameStartTimestamp.
final
- gameEndTimestamp → int
-
Unix timestamp for when match ends on the game server.
final
- gameId → int
-
final
- gameMode → String
-
Refer to the Game Constants documentation.
final
- gameName → String
-
final
- gameStartTimestamp → int
-
Unix timestamp for when match starts on the game server.
final
- gameType → String?
-
final
- gameVersion → String?
-
The first two parts can be used to determine the patch a game was played on.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mapId → int
-
Refer to the Game Constants documentation.
final
-
participants
→ List<
ParticipantDTO> -
final
- platformId → String?
-
Platform where the match was played.
final
- queueId → int
-
Refer to the Game Constants documentation.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
teams
→ List<
MatchTeamDTO> -
final
- tournamentCode → String?
-
Tournament code used to generate the match.
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