ListTournamentsRequest constructor

ListTournamentsRequest({
  1. UInt32Value? categoryStart,
  2. UInt32Value? categoryEnd,
  3. UInt32Value? startTime,
  4. UInt32Value? endTime,
  5. Int32Value? limit,
  6. 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;
}