FastInAppPurchaseService class

Constructors

FastInAppPurchaseService.new({required FastAppInfoDocument appInfo, IFastErrorReporter? errorReporter})
factory

Properties

errorReporter → IFastErrorReporter?
final
hashCode int
The hash code for this object.
no setterinherited
onError Stream
no setter
onPurchase Stream<PurchaseDetails>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connect() Future<bool>
disconnect() → void
handlePurchase(List<PurchaseDetails> purchases) → void
handlePurchaseError(dynamic error) → void
hasPurchasedProduct(String productID) Future<bool>
listAvailableProducts() Future<List<ProductDetails>?>
listPurchases() List<PurchaseDetails>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
purchaseProduct(String productId) Future<bool>
queryProductDetails(String productId) Future<ProductDetails?>
restorePurchases() Future<void>
toString() String
A string representation of this object.
inherited

Operators

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