purchase abstract method

Future<Map<String, QEntitlement>> purchase(
  1. QPurchaseModel purchaseModel
)

Make a purchase and validate it through server-to-server using Qonversion's Backend. purchaseModel necessary information for purchase.

Returns the promise with the user entitlements including the ones obtained by the purchase. Throws QPurchaseException in case of error in purchase flow.

See Making Purchases

Implementation

Future<Map<String, QEntitlement>> purchase(QPurchaseModel purchaseModel);