MeiliDocumentContainer<T extends Object> class final

A class that wraps around documents returned from meilisearch to provide useful information.

Properties

formatted Map<String, dynamic>?
final
hashCode int
The hash code for this object.
no setterinherited
matchesPosition Map<String, List<MatchPosition>>?
Contains the location of each occurrence of queried terms across all fields
final
parsed → T
final
rankingScore double?
final
rankingScoreDetails MeiliRankingScoreDetails?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
semanticScore double?
final
src Map<String, dynamic>
final
vectors List?
final

Methods

getFormatted(String key) → dynamic
getFormattedOrSrc(String key) → dynamic
map<TOther extends Object>(MeilisearchDocumentMapper<T, TOther> mapper) MeiliDocumentContainer<TOther>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](String key) → dynamic

Static Methods

fromJson(Map<String, dynamic> src) MeiliDocumentContainer<Map<String, dynamic>>