SuggestModel class Null safety

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.
read-onlyinherited
query String?
The query string specified in the suggest request.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
suggestions List<SuggestionMatch>?
The documents that match the query string.
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