SearchHits class final

Annotations
  • @JsonSerializable()

Constructors

SearchHits({required List<Hit> hits, required String query, required String params})
Returns a new SearchHits instance.
const
SearchHits.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
hits List<Hit>
final
params String
URL-encoded string of all search parameters.
final
query String
Text to search for in an index.
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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