UserOfferData constructor
const
UserOfferData({
- required UserOfferActionType actionType,
- required bool isEligible,
- String? checkoutProductId,
- String? fromProductId,
- required int savingsPercent,
- required int freeTrialDays,
- required int minSubscriptionDays,
- int? maxSubscriptionDays,
- required int rolloutPercent,
- UserOfferDisplay? display,
- UserOfferProration? proration,
- required bool requiresAppleCancel,
- UserOfferAppleSubscription? appleSubscription,
- String? checkoutPresentation,
- String? experimentVariantId,
- UserOfferSourceStorefront? source,
Implementation
const UserOfferData({
required this.actionType,
required this.isEligible,
this.checkoutProductId,
this.fromProductId,
required this.savingsPercent,
required this.freeTrialDays,
required this.minSubscriptionDays,
this.maxSubscriptionDays,
required this.rolloutPercent,
this.display,
this.proration,
required this.requiresAppleCancel,
this.appleSubscription,
this.checkoutPresentation,
this.experimentVariantId,
this.source,
});