QueryRecordsRequest constructor

QueryRecordsRequest({
  1. String? storeKey,
  2. Iterable<QueryFilter>? filters,
  3. Iterable<String>? tags,
  4. String? ownerId,
  5. Iterable<SortOrder>? sortOrders,
  6. int? limit,
  7. bool? keysOnly,
  8. int? offset,
})

Implementation

factory QueryRecordsRequest({
  $core.String? storeKey,
  $core.Iterable<QueryFilter>? filters,
  $core.Iterable<$core.String>? tags,
  $core.String? ownerId,
  $core.Iterable<SortOrder>? sortOrders,
  $core.int? limit,
  $core.bool? keysOnly,
  $core.int? offset,
}) {
  final _result = create();
  if (storeKey != null) {
    _result.storeKey = storeKey;
  }
  if (filters != null) {
    _result.filters.addAll(filters);
  }
  if (tags != null) {
    _result.tags.addAll(tags);
  }
  if (ownerId != null) {
    _result.ownerId = ownerId;
  }
  if (sortOrders != null) {
    _result.sortOrders.addAll(sortOrders);
  }
  if (limit != null) {
    _result.limit = limit;
  }
  if (keysOnly != null) {
    _result.keysOnly = keysOnly;
  }
  if (offset != null) {
    _result.offset = offset;
  }
  return _result;
}