onPurchase property

Future<bool> Function(String packageId)? onPurchase
final

Perform the purchase of this package yourself; return whether it went through. While it runs the funnel cannot be swiped or backed away.

Implementation

final Future<bool> Function(String packageId)? onPurchase;