onPurchase property
final
The funnel wants this package purchased. Call Rovenue.purchase. A purchase the funnel sells at a win-back offer reaches onWinBackPurchase instead when it is set; without it, this one gets the package and buys at the regular price.
Implementation
final void Function(String packageIdentifier)? onPurchase;