copyWith method

QuerySpec copyWith({
  1. List<FilterOp>? filters,
  2. List<OrderSpec>? orderBy,
  3. int? limit,
  4. int? offset,
})

Implementation

QuerySpec copyWith({
  List<FilterOp>? filters,
  List<OrderSpec>? orderBy,
  int? limit,
  int? offset,
}) {
  return QuerySpec(
    filters: filters ?? this.filters,
    orderBy: orderBy ?? this.orderBy,
    limit: limit ?? this.limit,
    offset: offset ?? this.offset,
  );
}