SuggestionMatch class Null safety

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.
read-onlyinherited
id String?
The document ID of the suggested document.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
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 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