StoreKit class

Properties

getPurchasedProductIds → List<String>
no setter
hashCode → int
The hash code for this object.
no setterinherited
iap → FlutterInappPurchase
final
productItems → List<ProductCommon>
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subscriptionItems → List<ProductCommon>
no setter

Methods

addErrorListener(ValueChanged<PurchaseError?> callback) → void
addProStatusChangedListener(ValueChanged<Purchase> callback) → void
dispose() → void
getProductsItemsByIds(List<String> ids) → List<ProductCommon>
getSubscriptionItemsByIds(List<String> ids) → List<ProductCommon>
initialize({List<String>? subscriptionIds, List<String>? productsIds}) → Future<void>
isProductPurchased(String productId) → bool
manageSubscription() → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
purchase(ProductCommon product) → Future<void>
removeErrorListener(ValueChanged<PurchaseError?> callback) → void
removeProStatusChangedListener(ValueChanged<Purchase> callback) → void
restorePastPurchases(BuildContext context) → Future<bool>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

instance → StoreKit
final