SKProductWrapper constructor
SKProductWrapper({
- required String productIdentifier,
- required String localizedTitle,
- required String localizedDescription,
- required SKPriceLocaleWrapper priceLocale,
- String? subscriptionGroupIdentifier,
- required String price,
- SKProductSubscriptionPeriodWrapper? subscriptionPeriod,
- SKProductDiscountWrapper? introductoryPrice,
- List<
SKProductDiscountWrapper> discounts = const <SKProductDiscountWrapper>[],
Creates an SKProductWrapper with the given product details.
Implementation
SKProductWrapper({
required this.productIdentifier,
required this.localizedTitle,
required this.localizedDescription,
required this.priceLocale,
this.subscriptionGroupIdentifier,
required this.price,
this.subscriptionPeriod,
this.introductoryPrice,
this.discounts = const <SKProductDiscountWrapper>[],
});