SuperEasyInAppPurchase class

A wrapper widget class around in_app_purchase to handle all the complex things of in app purchases and allows users to focus on business logic rather than focusing on in app purchase implementation logic

Constructors

SuperEasyInAppPurchase({required List<InAppPurchaseItem> inAppPurchaseItems, Function? onProductsFetchError})

Properties

hashCode int
The hash code for this object.
no setterinherited
inAppPurchaseItems List<InAppPurchaseItem>
final
onProductsFetchError Function?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeProduct(String productID) Future<void>
Use it carefully.
startPurchase(String productID) Future<void>
Start a purchase.
stop() → void
This will stop the IAP listeners, preventing memory leaks
toString() String
A string representation of this object.
inherited

Operators

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