ScoresResource class

Constructors

ScoresResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

get(String playerId, String leaderboardId, String timeSpan, {String? includeRankType, String? language, int? maxResults, String? pageToken, String? $fields}) Future<PlayerLeaderboardScoreListResponse>
Get high scores, and optionally ranks, in leaderboards for the currently authenticated player.
list(String leaderboardId, String collection, String timeSpan, {String? language, int? maxResults, String? pageToken, String? $fields}) Future<LeaderboardScores>
Lists the scores in a leaderboard, starting from the top.
listWindow(String leaderboardId, String collection, String timeSpan, {String? language, int? maxResults, String? pageToken, int? resultsAbove, bool? returnTopIfAbsent, String? $fields}) Future<LeaderboardScores>
Lists the scores in a leaderboard around (and including) a player's score.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
submit(String leaderboardId, String score, {String? language, String? scoreTag, String? $fields}) Future<PlayerScoreResponse>
Submits a score to the specified leaderboard.
submitMultiple(PlayerScoreSubmissionList request, {String? language, String? $fields}) Future<PlayerScoreListResponse>
Submits multiple scores to leaderboards.
toString() String
A string representation of this object.
inherited

Operators

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