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.

Annotations

Constructors

PurchasesResultWrapper({@required BillingResponse responseCode, @required BillingResultWrapper billingResult, @required List<PurchaseWrapper> purchasesList})
PurchasesResultWrapper.fromJson(Map<String, dynamic> map)
factory

Properties

billingResult BillingResultWrapper
The detailed description of the status of the operation.
final
hashCode int
The hash code for this object. [...]
read-only, override
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.
read-only, inherited

Methods

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

Operators

operator ==(Object other) bool
The equality operator. [...]
override