trackViewCart method

void trackViewCart({
  1. int? itemsCount,
  2. double? value,
  3. String? currency,
})

Implementation

void trackViewCart({int? itemsCount, double? value, String? currency}) =>
    event('view_cart', properties: {
      if (itemsCount != null) 'items_count': itemsCount,
      if (value != null) 'value': value,
      if (currency != null) 'currency': currency,
    });