Hit class

Information about a document that matches the search request.

Constructors

Hit({Map<String, String>? exprs, Map<String, List<String>>? fields, Map<String, String>? highlights, String? id})
Hit.fromJson(Map<String, dynamic> json)
factory

Properties

exprs Map<String, String>?
The expressions returned from a document that matches the search request.
final
fields Map<String, List<String>>?
The fields returned from a document that matches the search request.
final
hashCode int
The hash code for this object.
no setterinherited
highlights Map<String, String>?
The highlights returned from a document that matches the search request.
final
id String?
The document ID of a document that matches the search request.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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