SuggestionMatch class

An autocomplete suggestion that matches the query string specified in a SuggestRequest.

Constructors

SuggestionMatch({String? id, int? score, String? suggestion})
SuggestionMatch.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id String?
The document ID of the suggested document.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
score int?
The relevance score of a suggested match.
final
suggestion String?
The string that matches the query string specified in the SuggestRequest.
final

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