SK2Entitlement constructor
const
SK2Entitlement({
- required String productId,
- required bool isActive,
- SK2ProductType? productType,
- String? transactionId,
- String? originalTransactionId,
- DateTime? purchaseDate,
- DateTime? expirationDate,
- DateTime? revocationDate,
- SK2OwnershipType? ownershipType,
- bool isIntroOffer = false,
- SK2OfferType? introOfferType,
- 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,
});