trackStoreInAppPurchaseEvent static method

void trackStoreInAppPurchaseEvent({
  1. required Map<String, dynamic> purchase,
  2. Map<String, dynamic>? semanticAttributes,
  3. Map<String, dynamic>? customAttributes,
})

Tracks an in-app-purchase event with the purchase passed from the app.

  • Parameter purchase Information of the purchase which is sent as it is.
  • Parameter semanticAttributes Additional attributes of the event that defined by Airbridge.
  • Parameter customAttributes Additional attributes of the event.

Implementation

static void trackStoreInAppPurchaseEvent({
  required Map<String, dynamic> purchase,
  Map<String, dynamic>? semanticAttributes,
  Map<String, dynamic>? customAttributes,
}) {
  Logger.called('trackStoreInAppPurchaseEvent');
  _event.trackStoreInAppPurchaseEvent(
      purchase: purchase,
      semanticAttributes: semanticAttributes,
      customAttributes: customAttributes);
}