PageRequest constructor

PageRequest({
  1. List<int>? key,
  2. Int64? offset,
  3. Int64? limit,
  4. bool? countTotal,
  5. bool? reverse,
})

Implementation

factory PageRequest({
  $core.List<$core.int>? key,
  $fixnum.Int64? offset,
  $fixnum.Int64? limit,
  $core.bool? countTotal,
  $core.bool? reverse,
}) {
  final _result = create();
  if (key != null) {
    _result.key = key;
  }
  if (offset != null) {
    _result.offset = offset;
  }
  if (limit != null) {
    _result.limit = limit;
  }
  if (countTotal != null) {
    _result.countTotal = countTotal;
  }
  if (reverse != null) {
    _result.reverse = reverse;
  }
  return _result;
}