showRankingIntent static method

Future<void> showRankingIntent(
  1. String rankingId, {
  2. int? timeDimension,
})

Opens the page for a specified leaderboard in a specified time frame.

Implementation

static Future<void> showRankingIntent(
  String rankingId, {
  int? timeDimension,
}) async {
  _channel.invokeMethod(
    'RankingsClient.getRankingIntent',
    removeNulls(
      <String, dynamic>{
        'rankingId': rankingId,
        'timeDimension': timeDimension,
      },
    ),
  );
}