PurchaseWrapper constructor
const
PurchaseWrapper({
- required String orderId,
- required String packageName,
- required int purchaseTime,
- required String purchaseToken,
- required String signature,
- required List<
String> products, - required bool isAutoRenewing,
- required String originalJson,
- String? developerPayload,
- required bool isAcknowledged,
- required PurchaseStateWrapper purchaseState,
- String? obfuscatedAccountId,
- String? obfuscatedProfileId,
Creates a purchase wrapper with the given purchase details.
Implementation
const PurchaseWrapper({
required this.orderId,
required this.packageName,
required this.purchaseTime,
required this.purchaseToken,
required this.signature,
required this.products,
required this.isAutoRenewing,
required this.originalJson,
this.developerPayload,
required this.isAcknowledged,
required this.purchaseState,
this.obfuscatedAccountId,
this.obfuscatedProfileId,
});