trackAddToCart static method

Future<void> trackAddToCart(
  1. String contentId, [
  2. Map<String, dynamic> properties = const {}
])

Track the operation to add to the cart.

Implementation

static Future<void> trackAddToCart(final String contentId, [final Map<String, dynamic> properties = const {}]) async {
  await _invokeMethod('trackAddToCart', [contentId, properties]);
}