PurchaseResult class
The outcome of a successful purchase() or restorePurchases() call.
Mirrors RvPurchaseResult / PurchaseResultDTO.
- Annotations
Constructors
-
PurchaseResult({required List<
Entitlement> entitlements, required Map<String, int> virtualCurrencies, required String productId, required String storeTransactionId, required bool isDeferred}) -
const
Properties
-
entitlements
→ List<
Entitlement> -
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isDeferred → bool
-
True for a deferred purchase (e.g. Ask to Buy) that has not yet been
finalized by the store.
final
- productId → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- storeTransactionId → String
-
final
-
virtualCurrencies
→ Map<
String, int> -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override