EntitlementInfo constructor

const EntitlementInfo(
  1. String identifier,
  2. bool isActive,
  3. bool willRenew,
  4. String latestPurchaseDate,
  5. String originalPurchaseDate,
  6. String productIdentifier,
  7. bool isSandbox, {
  8. OwnershipType ownershipType = OwnershipType.unknown,
  9. Store store = Store.unknownStore,
  10. PeriodType periodType = PeriodType.unknown,
  11. String? expirationDate,
  12. String? unsubscribeDetectedAt,
  13. String? billingIssueDetectedAt,
  14. String? productPlanIdentifier,
  15. VerificationResult verification = VerificationResult.notRequested,
})

Implementation

const EntitlementInfo(
  this.identifier,
  this.isActive,
  this.willRenew,
  this.latestPurchaseDate,
  this.originalPurchaseDate,
  this.productIdentifier,
  this.isSandbox, {
  this.ownershipType = OwnershipType.unknown,
  this.store = Store.unknownStore,
  this.periodType = PeriodType.unknown,
  this.expirationDate,
  this.unsubscribeDetectedAt,
  this.billingIssueDetectedAt,
  this.productPlanIdentifier,
  this.verification = VerificationResult.notRequested,
});