showLeaderboards static method

Future<String?> showLeaderboards({
  1. dynamic iOSLeaderboardID = "",
  2. dynamic androidLeaderboardID = "",
})

Open the device's default leaderboards screen. If a leaderboard ID is provided, it will display the specific leaderboard, otherwise it will show the list of all leaderboards.

Implementation

static Future<String?> showLeaderboards(
    {iOSLeaderboardID = "", androidLeaderboardID = ""}) async {
  return await Leaderboards.showLeaderboards(
      iOSLeaderboardID: iOSLeaderboardID,
      androidLeaderboardID: androidLeaderboardID);
}