ProductSearchResults class
Information about the products similar to a single product in a query image.
- Annotations
-
- @JsonSerializable()
Constructors
-
ProductSearchResults({required String rawIndexTime, required List<
GroupedResult> productGroupedResults, required List<ProductSearchResult> productResults}) -
ProductSearchResults.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- indexTime → DateTime
-
no setter
-
productGroupedResults
→ List<
GroupedResult> -
List of results, one for each product match.
final
-
productResults
→ List<
ProductSearchResult> -
List of results grouped by products detected in the query image. Each
entry corresponds to one bounding polygon in the query image, and contains
the matching products specific to that region. There may be duplicate
product matches in the union of all the per-product results.
final
- rawIndexTime → String
-
Timestamp of the index which provided these results. Products added to the
product set and products removed from the product set after this time are
not reflected in the current results.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited