load method

Future<LeaderboardView?> load(
  1. String rankingIdOrKey, {
  2. String season = 'current',
  3. int top = 100,
})

The leaderboard as BeeAppie has it, after sending the scores that wait: its top top of season ("current", "previous" or a past season's key) and the player's own entries. Kept on the device; offline, the last copy (LeaderboardView.isUpToDate false). Null when there is neither.

Implementation

Future<LeaderboardView?> load(String rankingIdOrKey, {String season = 'current', int top = 100}) =>
    _view('leaderboardsLoad', {'key': rankingIdOrKey, 'season': season, 'top': top});