isInAppPurchaseTrackingEnabled method Null safety

Future<bool> isInAppPurchaseTrackingEnabled()

Indicates that SDK can track event automatically for each user purchases product through in-app-purchase.

  • Return true if the SDK is enabled for in-app-purchase tracking, false otherwise.

Implementation

static Future<bool> isInAppPurchaseTrackingEnabled() {
  Logger.called('isInAppPurchaseTrackingEnabled');
  return _switch.isInAppPurchaseTrackingEnabled();
}