FlutterPoolakey class Null safety

FlutterPoolakey is a Flutter In-App Billing SDK for Cafe Bazaar App Store.

It only works in the Android platform (Because Cafebazaar only supports Android) It uses Poolakey SDK under the hood.

Constructors

FlutterPoolakey()

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

checkTrialSubscription() Future<Map>
Check Trial-Subscription existanse
connect(String? inAppBillingKey, {VoidCallback? onDisconnected}) Future<bool>
Initializes the connection between your app and the bazaar app
consume(String purchaseToken) Future<bool>
Consumes a consumable product
getAllPurchasedProducts() Future<List<PurchaseInfo>>
Returns all purchases list
getAllSubscribedProducts() Future<List<PurchaseInfo>>
Returns all subscribed products
getInAppSkuDetails(List<String> skuIds) Future<List<SkuDetails>>
Returns sku details of your purchasable products
getSubscriptionSkuDetails(List<String> skuIds) Future<List<SkuDetails>>
Returns sku details of your subscribable products
getVersion() Future<String>
purchase(String productId, {String payload = "", String dynamicPriceToken = ""}) Future<PurchaseInfo>
Initiates the purchase flow
queryPurchasedProduct(String productId) Future<PurchaseInfo?>
Queries a purchased product in the user's inventory
querySubscribedProduct(String productId) Future<PurchaseInfo?>
Queries a subscribed product in the user's inventory
subscribe(String productId, {String payload = "", String dynamicPriceToken = ""}) Future<PurchaseInfo>
Initializes the subscription flow