getCurrentPlayerRankingScore static method
Obtains the score of a player on a specified leaderboard in a specified time frame.
Implementation
static Future<RankingScore> getCurrentPlayerRankingScore(
String rankingId,
int timeDimension,
) async {
final dynamic response = await _channel.invokeMethod(
'RankingsClient.getCurrentPlayerRankingScore',
<String, dynamic>{
'rankingId': rankingId,
'timeDimension': timeDimension,
},
);
return RankingScore.fromMap(Map<dynamic, dynamic>.from(response));
}