SuggestModel class

Container for the suggestion information returned in a SuggestResponse.

Constructors

SuggestModel({int? found, String? query, List<SuggestionMatch>? suggestions})
SuggestModel.fromJson(Map<String, dynamic> json)
factory

Properties

found int?
The number of documents that were found to match the query string.
final
hashCode int
The hash code for this object.
no setterinherited
query String?
The query string specified in the suggest request.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
suggestions List<SuggestionMatch>?
The documents that match the query string.
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