DataRequest constructor

DataRequest({
  1. Filter? filter,
  2. Int64? limit,
  3. String? last,
  4. Order? sortOrder,
})

Implementation

factory DataRequest({
  Filter? filter,
  $fixnum.Int64? limit,
  $core.String? last,
  Order? sortOrder,
}) {
  final $result = create();
  if (filter != null) {
    $result.filter = filter;
  }
  if (limit != null) {
    $result.limit = limit;
  }
  if (last != null) {
    $result.last = last;
  }
  if (sortOrder != null) {
    $result.sortOrder = sortOrder;
  }
  return $result;
}