PaywallViewMethodHandler constructor
const
PaywallViewMethodHandler(
- dynamic onPurchaseStarted(
- Package rcPackage
- dynamic onPurchaseCompleted(
- CustomerInfo customerInfo,
- StoreTransaction storeTransaction
- dynamic onPurchaseCancelled()?,
- dynamic onPurchaseError(
- PurchasesError
- dynamic onRestoreCompleted(
- CustomerInfo customerInfo
- dynamic onRestoreError(
- PurchasesError
- dynamic onDismiss()?,
Implementation
const PaywallViewMethodHandler(
this.onPurchaseStarted,
this.onPurchaseCompleted,
this.onPurchaseCancelled,
this.onPurchaseError,
this.onRestoreCompleted,
this.onRestoreError,
this.onDismiss,
);