purchase method

Future<bool> purchase(
  1. ProductDetails productDetail
)

Make a Purchase

The provider will notify you if there is a change The future returns if the "purchase screen" is visible to the user and not if the purchase was successful

Implementation

Future<bool> purchase(ProductDetails productDetail) async {
  return LinkFivePurchases.purchase(productDetail);
}