PaginatedSearchResult<T> class

Inheritance
Available Extensions

Constructors

PaginatedSearchResult({required Map<String, dynamic> src, required String indexUid, required List<T> hits, required Map<String, Map<String, int>>? facetDistribution, required int? processingTimeMs, required String? query, required Map<String, FacetStat>? facetStats, required List? vector, required int? hitsPerPage, required int? page, required int? totalHits, required int? totalPages})
const

Properties

facetDistribution Map<String, Map<String, int>>?
Distribution of the given facets
finalinherited
facetStats Map<String, FacetStat>?
Distribution of the given facets
finalinherited
hashCode int
The hash code for this object.
no setterinherited
hits List<T>
Results of the query
finalinherited
hitsPerPage int?
Number of documents skipped
final
indexUid String
finalinherited
page int?
Number of documents to take
final
processingTimeMs int?
Processing time of the query
finalinherited
query String?
Query originating the response
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
src Map<String, dynamic>
finalinherited
totalHits int?
Total number of matches
final
totalPages int?
Total number of pages
final
vector List?
finalinherited

Methods

asPaginatedResult() PaginatedSearchResult<T>
inherited
asSearchResult() SearchResult<T>
inherited
map<TOther>(MeilisearchDocumentMapper<T, TOther> mapper) PaginatedSearchResult<TOther>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, Object?> map, {String? indexUid}) PaginatedSearchResult<Map<String, dynamic>>