OfferPurchaseService class abstract interface

Opt-in seam for adapters that can honor explicit trial/standard choices. Older PurchaseService implementations remain source-compatible; a session rejects explicit choices if this capability is absent.

Implemented types
Implementers

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
updates → Stream<PaywallResult>
Purchase outcomes, as the store delivers them.
no setterinherited

Methods

dispose() → Future<void>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
products(List<ProductSlot> slots) → Future<List<PaywallProduct>>
The store's products for slots.
inherited
purchase(PaywallProduct product) → Future<void>
Starts buying product; the outcome arrives on updates.
inherited
purchaseWithOffer(PaywallProduct product, PurchaseOfferPreference offer) → Future<void>
restore() → Future<void>
Restores verified purchases; outcomes arrive on updates.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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