ListTournamentsRequest constructor
ListTournamentsRequest({
- UInt32Value? categoryStart,
- UInt32Value? categoryEnd,
- UInt32Value? startTime,
- UInt32Value? endTime,
- Int32Value? limit,
- String? cursor,
Implementation
factory ListTournamentsRequest({
$1.UInt32Value? categoryStart,
$1.UInt32Value? categoryEnd,
$1.UInt32Value? startTime,
$1.UInt32Value? endTime,
$1.Int32Value? limit,
$core.String? cursor,
}) {
final _result = create();
if (categoryStart != null) {
_result.categoryStart = categoryStart;
}
if (categoryEnd != null) {
_result.categoryEnd = categoryEnd;
}
if (startTime != null) {
_result.startTime = startTime;
}
if (endTime != null) {
_result.endTime = endTime;
}
if (limit != null) {
_result.limit = limit;
}
if (cursor != null) {
_result.cursor = cursor;
}
return _result;
}