LeaderboardList constructor

LeaderboardList({
  1. Iterable<Leaderboard>? leaderboards,
  2. String? cursor,
})

Implementation

factory LeaderboardList({
  $core.Iterable<Leaderboard>? leaderboards,
  $core.String? cursor,
}) {
  final _result = create();
  if (leaderboards != null) {
    _result.leaderboards.addAll(leaderboards);
  }
  if (cursor != null) {
    _result.cursor = cursor;
  }
  return _result;
}