copyWith method
Implementation
CommonApiParams copyWith({
Map<String, dynamic>? filter,
int? skip,
int? limit,
String? sort,
String? select,
String? populate,
List<ApiPopulate>? deepPopulate,
}) {
return CommonApiParams(
key: key,
filter: filter ?? this.filter,
skip: skip ?? this.skip,
limit: limit ?? this.limit,
sort: sort ?? this.sort,
select: select ?? this.select,
populate: populate ?? this.populate,
deepPopulate: deepPopulate ?? this.deepPopulate?.toList(),
);
}