CompleteQuery class

CompleteQuery describes a search query.

Annotations
  • @freezed

Constructors

CompleteQuery({required String indexPath, required String accessKey, required int limit, required String text})
Constructor
const
factory
CompleteQuery.fromJson(Map<String, dynamic> json)
Unmarshalls json to a CompleteQuery.
factory

Properties

accessKey String
AccessKey authenticates the request. Get an AccessKey from the AccessKeyService.GenerateKey method.
no setterinherited
copyWith → $CompleteQueryCopyWith<CompleteQuery>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
indexPath String
IndexPath is the path of the index to search.
no setterinherited
limit int
Limit is the maximum number of search results to return. Smaller limits are faster.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
Text contains a phrase to autocomplete.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited