PurchaseBuilder constructor

const PurchaseBuilder({
  1. Key? key,
  2. PurchaserProductType productType = PurchaserProductType.initial,
  3. OnPurchaserCallback<InAppPurchaseState>? onInit,
  4. OnPurchaserCallback<InAppPurchaseState>? onAdjustSdk,
  5. OnPurchaserCallback<InAppPurchaseState>? onFacebookSdk,
  6. OnPurchaserCallback<InAppPurchaseState>? onIdentify,
  7. OnPurchaserCallback<InAppPurchaseState>? onLogShow,
  8. OnPurchaserCallback<InAppPurchaseState>? onUpload,
  9. OnPurchaserCallback<InAppPurchaseState>? onPurchasing,
  10. OnPurchaserCallback<InAppPurchaseState>? onRestoring,
  11. OnPurchaserCallback<bool>? onFetching,
  12. required OnPurchaserBuilder builder,
})

Implementation

const PurchaseBuilder({
  super.key,
  this.productType = PurchaserProductType.initial,
  this.onInit,
  this.onAdjustSdk,
  this.onFacebookSdk,
  this.onIdentify,
  this.onLogShow,
  this.onUpload,
  this.onPurchasing,
  this.onRestoring,
  this.onFetching,
  required this.builder,
});