logBeginCheckout method

void logBeginCheckout({
  1. List products = const [],
})

Implementation

void logBeginCheckout({List products = const []}) {
  int i = 0;
  logEvent("beginCheckout", {
    for (final p in products.orEmpty()) "product${i++}": p?.toString() ?? 'Unknown product',
  });
}