LeaderboardRecordList constructor
LeaderboardRecordList({
- Iterable<
LeaderboardRecord> ? records, - Iterable<
LeaderboardRecord> ? ownerRecords, - String? nextCursor,
- String? prevCursor,
Implementation
factory LeaderboardRecordList({
$core.Iterable<LeaderboardRecord>? records,
$core.Iterable<LeaderboardRecord>? ownerRecords,
$core.String? nextCursor,
$core.String? prevCursor,
}) {
final _result = create();
if (records != null) {
_result.records.addAll(records);
}
if (ownerRecords != null) {
_result.ownerRecords.addAll(ownerRecords);
}
if (nextCursor != null) {
_result.nextCursor = nextCursor;
}
if (prevCursor != null) {
_result.prevCursor = prevCursor;
}
return _result;
}