skuPurchased static method

Future<bool> skuPurchased(
  1. String skuID
)

Check if a specific product SKU has been purchased

Implementation

static Future<bool> skuPurchased(String skuID) {
  return channel
      .invokeMethod<bool>("skuPurchased", skuID)
      .then<bool>((bool? value) => value ?? false);
}