SK2PurchaseResult constructor

const SK2PurchaseResult({
  1. required SK2PurchaseStatus status,
  2. String? productId,
  3. SK2ProductType? productType,
  4. String? transactionId,
  5. String? originalTransactionId,
  6. DateTime? purchaseDate,
  7. DateTime? expirationDate,
  8. DateTime? revocationDate,
  9. SK2OwnershipType? ownershipType,
  10. bool isIntroOffer = false,
  11. SK2OfferType? introOfferType,
})

Implementation

const SK2PurchaseResult({
  required this.status,
  this.productId,
  this.productType,
  this.transactionId,
  this.originalTransactionId,
  this.purchaseDate,
  this.expirationDate,
  this.revocationDate,
  this.ownershipType,
  this.isIntroOffer = false,
  this.introOfferType,
});