SearchResponse class
- Available extensions
- Annotations
-
- @JsonSerializable.new(explicitToJson: true, checked: true)
Constructors
-
SearchResponse({required List<
CollectionResult> collections, required List<FacetValueResult> facetValues, required List<SearchResult> items, required int totalItems}) -
SearchResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
collections
→ List<
CollectionResult> -
final
-
facetValues
→ List<
FacetValueResult> -
final
- hasCollections → bool
-
Available on SearchResponse, provided by the SearchResponsePropertyHelpers extension
no setter - hasFacetValues → bool
-
Available on SearchResponse, provided by the SearchResponsePropertyHelpers extension
no setter - hashCode → int
-
The hash code for this object.
no setteroverride
- hasItems → bool
-
Available on SearchResponse, provided by the SearchResponsePropertyHelpers extension
no setter -
items
→ List<
SearchResult> -
final
- noCollections → bool
-
Available on SearchResponse, provided by the SearchResponsePropertyHelpers extension
no setter - noFacetValues → bool
-
Available on SearchResponse, provided by the SearchResponsePropertyHelpers extension
no setter - noItems → bool
-
Available on SearchResponse, provided by the SearchResponsePropertyHelpers extension
no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalItems → int
-
final
Methods
-
compareToSearchResponse(
SearchResponse other) → Map< String, dynamic> -
Available on SearchResponse, provided by the SearchResponseCompareE extension
-
copyWith(
{List< CollectionResult> ? collections, List<FacetValueResult> ? facetValues, List<SearchResult> ? items, int? totalItems}) → SearchResponse -
copyWithField<
T> (Field< SearchResponse, T> field, T value) → SearchResponse -
Returns a copy of this entity with
fieldset tovalue. -
copyWithSearchResponse(
{List< CollectionResult> ? collections, List<FacetValueResult> ? facetValues, List<SearchResult> ? items, int? totalItems}) → SearchResponse -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
patchWithSearchResponse(
[SearchResponsePatch? patchInput]) → SearchResponse -
toJson(
) → Map< String, dynamic> -
Available on SearchResponse, provided by the SearchResponseSerialization extension
-
toJsonLean(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override