LeaderboardEntry class

The Leaderboard Entry resource.

Constructors

LeaderboardEntry({String? formattedScore, String? formattedScoreRank, String? kind, Player? player, String? scoreRank, String? scoreTag, String? scoreValue, String? timeSpan, String? writeTimestampMillis})
LeaderboardEntry.fromJson(Map json_)

Properties

formattedScore String?
The localized string for the numerical value of this score.
getter/setter pair
formattedScoreRank String?
The localized string for the rank of this score for this leaderboard.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
kind String?
Uniquely identifies the type of this resource.
getter/setter pair
player Player?
The player who holds this score.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scoreRank String?
The rank of this score for this leaderboard.
getter/setter pair
scoreTag String?
Additional information about the score.
getter/setter pair
scoreValue String?
The numerical value of this score.
getter/setter pair
timeSpan String?
The time span of this high score. Possible string values are:
getter/setter pair
writeTimestampMillis String?
The timestamp at which this score was recorded, in milliseconds since the epoch in UTC.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited