TournamentList constructor
TournamentList({
- Iterable<
Tournament> ? tournaments, - String? cursor,
Implementation
factory TournamentList({
$core.Iterable<Tournament>? tournaments,
$core.String? cursor,
}) {
final _result = create();
if (tournaments != null) {
_result.tournaments.addAll(tournaments);
}
if (cursor != null) {
_result.cursor = cursor;
}
return _result;
}