SearchResult class
Results containing indexed information for a document.
Constructors
-
SearchResult({List<
SearchResult> ? clusteredResults, ResultDebugInfo? debugInfo, Metadata? metadata, Snippet? snippet, String? title, String? url}) - SearchResult.fromJson(Map json_)
Properties
-
clusteredResults
↔ List<
SearchResult> ? -
If source is clustered, provide list of clustered results.
getter/setter pair
- debugInfo ↔ ResultDebugInfo?
-
Debugging information about this search result.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- metadata ↔ Metadata?
-
Metadata of the search result.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- snippet ↔ Snippet?
-
The concatenation of all snippets (summaries) available for this result.
getter/setter pair
- title ↔ String?
-
Title of the search result.
getter/setter pair
- url ↔ String?
-
The URL of the search result.
getter/setter pair
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited