merge method
Implementation
CommonApiParams merge(CommonApiParams? other) {
if (other == null) return this;
return copyWith(
filter: queryMerge(filter, other.filter),
skip: other.skip,
limit: other.limit,
sort: other.sort,
select: other.select,
populate: other.populate,
deepPopulate: other.deepPopulate?.toList(),
);
}