PurchasesResultWrapper class

A data struct representing the result of a transaction.

Contains a potentially empty list of PurchaseWrappers, a BillingResultWrapper that contains a detailed description of the status and a BillingResponse to signify the overall state of the transaction.

Wraps com.android.billingclient.api.Purchase.PurchasesResult.

Implemented types
Annotations

Constructors

PurchasesResultWrapper({required BillingResponse responseCode, required BillingResultWrapper billingResult, required List<PurchaseWrapper> purchasesList})
Creates a PurchasesResultWrapper with the given purchase result details.
const

Properties

billingResult → BillingResultWrapper
The detailed description of the status of the operation.
final
hashCode → int
The hash code for this object.
no setteroverride
purchasesList → List<PurchaseWrapper>
The list of successful purchases made in this transaction.
final
responseCode → BillingResponse
The status of the operation.
final
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.
override