PurchasesHistoryResult class

A data struct representing the result of a purchase history.

Contains a potentially empty list of PurchaseHistoryRecordWrappers and a BillingResultWrapper that contains a detailed description of the status.

Implemented types
Annotations

Constructors

PurchasesHistoryResult({required BillingResultWrapper billingResult, required List<PurchaseHistoryRecordWrapper> purchaseHistoryRecordList})
Creates a PurchasesHistoryResult with the provided history.
const
PurchasesHistoryResult.fromJson(Map<String, dynamic> map)
Factory for creating a PurchasesHistoryResult from a Map with the history result details.
factory

Properties

billingResult BillingResultWrapper
The detailed description of the status of the BillingClient.queryPurchaseHistory.
final
hashCode int
The hash code for this object.
no setteroverride
purchaseHistoryRecordList List<PurchaseHistoryRecordWrapper>
The list of queried purchase history records.
final
responseCode BillingResponse
The status of the operation.
no setteroverride
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