Hit class Null safety

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.
read-onlyinherited
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.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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