InAppPurchaseUtils class

Properties

hashCode → int
The hash code for this object.
no setterinherited
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
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

checkPurchase({required BaseSettings settings, List<String> productIds = const ['unlock_feature'], List<String> subscriptionIds = const ['monthly_subscription:p-monthly-subscription'], void onCompleted()?}) → Future<void>
Check entitlement status
getProduct(String productId) → Future<StoreProduct?>
init({required String androidKey, required String iosKey}) → Future<void>
listen(void callback()) → void
purchase(StoreProduct product) → Future<bool>
restore() → Future<void>
Restore purchases
supportInAppPurchase() → bool