Predict class
Constructors
- Predict(MethodChannel _channel, ProductMapper _productMapper, CartItemListMapper _cartItemListMapper, RecommendationFilterListMapper _recommendationFilterListMapper, ProductToMapMapper _productToMapMapper)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
recommendProducts(
{required Logic logic, List< RecommendationFilter> ? filters, int? limit, String? availabilityZone}) → Future<List< Product> > -
toString(
) → String -
A string representation of this object.
inherited
-
trackCart(
List< CartItem> items) → Future<void> -
trackCategoryView(
String categoryPath) → Future< void> -
trackItemView(
String itemId) → Future< void> -
trackPurchase(
String orderId, List< CartItem> items) → Future<void> -
trackRecommendationClick(
Product product) → Future< void> -
trackSearchTerm(
String searchTerm) → Future< void> -
trackTag(
String eventName, Map< String, String> ? attributes) → Future<void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited