RankingScore class
A class that includes the details about a score on a leaderboard
when the score obtaining method of RankingsClient
is called.
Constructors
- RankingScore({String? displayRank, String? rankingDisplayScore, int? playerRank, int? playerRawScore, Player? scoreOwnerPlayer, String? scoreOwnerDisplayName, String? scoreOwnerHiIconUri, String? scoreOwnerIconUri, String? scoreTips, int? scoreTimestamp, int? timeDimension})
- RankingScore.fromMap(Map map)
-
factory
Properties
- displayRank ↔ String?
-
Localized rank of a score on a leaderboard.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- playerRank ↔ int?
-
Rank of a score on a leaderboard.
getter/setter pair
- playerRawScore ↔ int?
-
Raw value of a score.
getter/setter pair
- rankingDisplayScore ↔ String?
-
Score displayed on a leaderboard.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scoreOwnerDisplayName ↔ String?
-
Nickname of the player with the score.
If the player's identity is unknown, an anonymous name is returned.
getter/setter pair
- scoreOwnerHiIconUri ↔ String?
-
URI of the HD profile picture of a player.
If no URI is available, null is returned.
getter/setter pair
- scoreOwnerIconUri ↔ String?
-
URI of the icon-size profile picture of a player.
If no URI is available, null is returned.
getter/setter pair
- scoreOwnerPlayer ↔ Player?
-
Information about the player who achieved a specified score.
getter/setter pair
- scoreTimestamp ↔ int?
-
Timestamp when the player achieved a specified score.
getter/setter pair
- scoreTips ↔ String?
-
Custom unit of a score.
getter/setter pair
- timeDimension ↔ int?
-
Time frame that a player's rank is drawn from. The options are as follows:
0: daily
1: weekly
2: all-time
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- RANK_UNKNOWN → const int
- Constant returned when no rank is returned.