InAppProductDataService class

Constructors

InAppProductDataService.new(FirebaseFirestore _db, FirebaseFunctions _functions, FlutterInappPurchase _inAppPurchase, Stream<PurchasedItem?> _purchaseUpdatedStream, Stream<PurchaseResult?> _purchaseErrorStream, Talker _log)

Properties

hashCode int
The hash code for this object.
no setterinherited
purchaseErrorStream Stream<PurchaseResult?>
no setter
purchaseUpdatedStream Stream<PurchasedItem?>
Stream getters
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getInAppProduct(String inAppProductId) Future<InAppProductModel>
getInAppProducts({int limit = 50, DocumentSnapshot<Object?>? startAt, InAppProductType? type}) Future<List<InAppProductModel>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
purchaseInAppProduct(IAPItem item, String userId) Future<void>
restorePurchases() Future<void>
retrieveProductsDetailsFromStore(List<String> productIds) Future<List<IAPItem>>
toString() String
A string representation of this object.
inherited
verifyPurchase(PurchasedItem purchasedItem, IAPItem item) Future<void>

Operators

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

Static Properties

provider ↔ Provider<InAppProductDataService>
getter/setter pair