showLeaderboards method
Future<String?>
showLeaderboards({
- dynamic iOSLeaderboardID = "",
- dynamic androidLeaderboardID = "",
override
It will open the leaderboards screen.
Implementation
@override
Future<String?> showLeaderboards(
{iOSLeaderboardID = "", androidLeaderboardID = ""}) async {
return await _channel.invokeMethod("showLeaderboards", {
"leaderboardID":
Helpers.isPlatformAndroid ? androidLeaderboardID : iOSLeaderboardID
});
}