STRAnalyticProductEvent enum

The types of product analytics events that can be tracked.

Mirrors the native STRAnalyticProductEvent. The name of each value is sent over the method channel and must match the native enum names.

Inheritance
Available extensions

Values

pdpViewed → const STRAnalyticProductEvent

A product detail page (PDP) was viewed by the user.

const STRAnalyticProductEvent('PDPViewed')
cartAdded → const STRAnalyticProductEvent

A product was added to the shopping cart.

const STRAnalyticProductEvent('CartAdded')
wishlistAdded → const STRAnalyticProductEvent

A product was added to the user's wishlist.

const STRAnalyticProductEvent('WishlistAdded')
purchased → const STRAnalyticProductEvent

A product purchase was completed.

const STRAnalyticProductEvent('Purchased')

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → String
The PascalCase identifier shared with the native SDKs.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<STRAnalyticProductEvent>
A constant List of the values in this enum, in order of their declaration.