Purchases class final
Constructors
-
Purchases({required String purchaseId, PurchasesUpgrade? upgrade, required List<
String> owned, PurchasesCredits? credits, required List<Purchase> purchases, required List<PurchaseProduct> products}) -
const
-
Purchases.fromJson(Map<
String, Object?> json) -
factory
Properties
- credits → PurchasesCredits?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
owned
→ List<
String> -
The unlocks the end user owns.
final
-
products
→ List<
PurchaseProduct> -
What the app sells, in the order the config lists it.
final
- purchaseId → String
-
The end user’s purchase id. Pass it to the store with every purchase (applicationUserName in in_app_purchase), so the store hands it back.
final
-
purchases
→ List<
Purchase> -
The end user’s purchases, newest first.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- upgrade → PurchasesUpgrade?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited