isSKUIDPurchased static method

Future<bool> isSKUIDPurchased(
  1. String skuID
)

Check if a specific product SKU has been purchased

Implementation

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