SK2Entitlement constructor

const SK2Entitlement({
  1. required String productId,
  2. required bool isActive,
  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,
  12. bool willAutoRenew = false,
})

Implementation

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