getMoreRankingScores static method

Future<RankingScores> getMoreRankingScores(
  1. String rankingId,
  2. int offsetPlayerRank,
  3. int maxResults,
  4. int pageDirection,
  5. int timeDimension,
)

Obtains scores on a leaderboard in a specified time frame in pagination mode.

Implementation

static Future<RankingScores> getMoreRankingScores(
  String rankingId,
  int offsetPlayerRank,
  int maxResults,
  int pageDirection,
  int timeDimension,
) async {
  final dynamic response = await _channel.invokeMethod(
    'RankingsClient.getMoreRankingScores',
    <String, dynamic>{
      'rankingId': rankingId,
      'offsetPlayerRank': offsetPlayerRank,
      'maxResults': maxResults,
      'pageDirection': pageDirection,
      'timeDimension': timeDimension,
    },
  );
  return RankingScores.fromMap(Map<dynamic, dynamic>.from(response));
}