MultiSearchRequest class
Represents a multi search request.
- Annotations
-
- @Freezed(toJson: true)
Constructors
-
MultiSearchRequest.new({@JsonKey(toJson: requestsToJson) required Iterable<
SearchRequest> requests, @Default('none') String strategy}) -
Create a MultiSearchRequest instance.
constfactory
Properties
-
copyWith
→ $MultiSearchRequestCopyWith<
MultiSearchRequest> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
requests
→ Iterable<
SearchRequest> -
A list of search requests.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- strategy → String
-
Allows optimizing execution of the queries.
The following values are allowed:
none
andstopIfEnoughMatches
.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