EbPurchaseRepo class abstract

Abstract class for managing in-app purchases in Flutter applications.

Implementers

Constructors

EbPurchaseRepo()

Properties

hashCode int
The hash code for this object.
no setterinherited
isStoreAvailable Future<bool>
Returns true if the payment platform is ready and available.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

buyProduct({required PurchaseParam purchaseParam, dynamic onError(String)?}) Future<void>
Initiates a purchase for a given product.
configure({required Set<String> productIds, required dynamic onDetailsFetched(List<PurchaseDetails>?)}) → void
Initializes the in-app purchase system.
dispose() → void
Cancels the subscription to the purchase stream.
fetchInAppProducts() Future<Either<String, List<PurchasePlanModel>>>
Fetches product details for the given product IDs.
getOldPurchaseDetails(ProductDetails details) GooglePlayPurchaseDetails?
This Checks the user's old subscription in Android platform
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
restorePurchases({dynamic onError(String)?}) Future<void>
toString() String
A string representation of this object.
inherited
verifyPurchase({required PurchaseDetails purchaseDetail}) PurchaseStatus
Verifies the status of purchases.

Operators

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