showLeaderboards method

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

It will open the leaderboards screen.

Implementation

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