getRankingSummary static method
Obtains the data of a leaderboard. The data can be obtained from the local cache.
Implementation
static Future<Ranking> getRankingSummary(
String rankingId,
bool isRealTime,
) async {
final dynamic response = await _channel.invokeMethod(
'RankingsClient.getRankingSummary',
<String, dynamic>{
'rankingId': rankingId,
'isRealtime': isRealTime,
},
);
return Ranking.fromMap(Map<dynamic, dynamic>.from(response));
}