PurchaseWrapper constructor

const PurchaseWrapper({
  1. required String orderId,
  2. required String packageName,
  3. required int purchaseTime,
  4. required String purchaseToken,
  5. required String signature,
  6. required List<String> products,
  7. required bool isAutoRenewing,
  8. required String originalJson,
  9. String? developerPayload,
  10. required bool isAcknowledged,
  11. required PurchaseStateWrapper purchaseState,
  12. String? obfuscatedAccountId,
  13. 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,
});