showProductCardEvent static method

ECommerceEvent showProductCardEvent(
  1. ECommerceProduct product,
  2. ECommerceScreen screen
)

Creates an E-Commerce event ShowProductCardEvent.

Use it to report the viewing of the product card among others in the list.

Implementation

static ECommerceEvent showProductCardEvent(
    ECommerceProduct product, ECommerceScreen screen) {
  return ECommerceConstructors.showProductCardEvent(product, screen);
}