InAppPurchaseHelper class

Constructors

InAppPurchaseHelper.new()
factory

Properties

amount double
Purchase config values
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
paymentType String
getter/setter pair
productIds List<String>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userId String
getter/setter pair

Methods

buySubscription(ProductDetails productDetails, Map<String, PurchaseDetails> purchases) Future<void>
Buy subscription/product
clearTransactions() Future<void>
debugProductLoading() Future<void>
deliverProduct(PurchaseDetails purchaseDetails) → void
getAlreadyPurchaseItems(IAPCallback iapCallback) → void
Listen for purchases
getAvailableProducts() List<String>
getPastPurchases(List<PurchaseDetails> verifiedPurchases) Future<void>
Handle past purchases
getProductDetail(String productID) → ProductDetails?
handleError(dynamic error) Future<bool>
init(PurchaseRequest request) → void
Initialize with user request
initialize() → void
Start IAP system
initStoreInfo() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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