copyWith method
SearchPageResponseSearchResult
copyWith({
- List<
SearchResult> ? results, - int? start,
- int? limit,
- int? size,
- int? totalSize,
- String? cqlQuery,
- int? searchDuration,
- int? archivedResultCount,
- GenericLinks? links,
Implementation
SearchPageResponseSearchResult copyWith(
{List<SearchResult>? results,
int? start,
int? limit,
int? size,
int? totalSize,
String? cqlQuery,
int? searchDuration,
int? archivedResultCount,
GenericLinks? links}) {
return SearchPageResponseSearchResult(
results: results ?? this.results,
start: start ?? this.start,
limit: limit ?? this.limit,
size: size ?? this.size,
totalSize: totalSize ?? this.totalSize,
cqlQuery: cqlQuery ?? this.cqlQuery,
searchDuration: searchDuration ?? this.searchDuration,
archivedResultCount: archivedResultCount ?? this.archivedResultCount,
links: links ?? this.links,
);
}