LeaderboardList constructor
LeaderboardList({
- Iterable<
Leaderboard> ? leaderboards, - 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;
}