Hits class Null safety

The collection of documents that match the search request.

Constructors

Hits({String? cursor, int? found, List<Hit>? hit, int? start})
Hits.fromJson(Map<String, dynamic> json)
factory

Properties

cursor String?
A cursor that can be used to retrieve the next set of matching documents when you want to page through a large result set.
final
found int?
The total number of documents that match the search request.
final
hashCode int
The hash code for this object.
read-onlyinherited
hit List<Hit>?
A document that matches the search request.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
start int?
The index of the first matching document.
final

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