IapConfig class

Model contains configuration about in-app-purchase.

Constructors

IapConfig({required List<SubscriptionItem> skuConverter(List<IAPItem>), int maxRetryConnectBilling = 2, List<String> skuList = const [], List<String> offeringSkuList = const [], int limitFreeUsage = 10})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
limitFreeUsage int
Free premium-feature usage times.
final
maxRetryConnectBilling int
Limit retry times after failure connects to store.
final
offeringSkuList List<String>
Offering SKUs to show in Premium Page.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skuConverter List<SubscriptionItem> Function(List<IAPItem>)
Convert store sku items into local items for showing on UI.
final
skuList List<String>
SKUs on store.
final

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