performPurchase abstract method

Future<PurchaseLogicResult> performPurchase(
  1. Package packageToPurchase
)

Called when the user initiates a purchase from the paywall.

packageToPurchase is the package the user selected. Return the result of the purchase operation.

Implementation

Future<PurchaseLogicResult> performPurchase(Package packageToPurchase);