PurchaseBuilder constructor
const
PurchaseBuilder({
- Key? key,
- PurchaserProductType productType = PurchaserProductType.initial,
- OnPurchaserCallback<
InAppPurchaseState> ? onInit, - OnPurchaserCallback<
InAppPurchaseState> ? onAdjustSdk, - OnPurchaserCallback<
InAppPurchaseState> ? onFacebookSdk, - OnPurchaserCallback<
InAppPurchaseState> ? onIdentify, - OnPurchaserCallback<
InAppPurchaseState> ? onLogShow, - OnPurchaserCallback<
InAppPurchaseState> ? onUpload, - OnPurchaserCallback<
InAppPurchaseState> ? onPurchasing, - OnPurchaserCallback<
InAppPurchaseState> ? onRestoring, - OnPurchaserCallback<
bool> ? onFetching, - 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,
});