purchaseFuture static method

Future<LinkFiveActiveProducts> purchaseFuture(
  1. dynamic productDetails
)

USE WITH CARE. We're currently testing the new purchase method

All In App purchases are handled async, it's difficult to wait for something, that happens in a different thread.

This will trigger the purchase flow for the user and returns a LinkFiveActiveProducts object.

Implementation

static Future<LinkFiveActiveProducts> purchaseFuture(dynamic productDetails) {
  return LinkFivePurchasesImpl().purchaseFuture(productDetails);
}