PushRequest class

Implementers

Constructors

PushRequest()

Properties

cart ↔ Cart?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

currency(String currency) → PushRequest
customEvents(List<CustomEvent> events) → PushRequest
Set custom events to track user interactions
locale(String locale) → PushRequest
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pageCategories(List<String> categories) → PushRequest
Set categories visible on the page (for listing pages) These will be sent as context.page.categories
pageFilter(AbstractFilter filter) → PushRequest
pageProductIds(List<String> productIds) → PushRequest
Set product IDs visible on the page (for listing pages) These will be sent as context.page.ids
pageUrl(String url) → PushRequest
productView(Viewedproduct product) → PushRequest
screenView(String pageToken) → PushRequest
setCart(Cart passedCart) → PushRequest
Set cart explicitly (used for checkout success)
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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