StoreProduct constructor
const
StoreProduct({ - required String id,
- required ProductType type,
- required ProductCategory productCategory,
- required String displayName,
- String? description,
- String? priceString,
- double? price,
- String? currencyCode,
- RovenuePeriod? subscriptionPeriod,
- String? subscriptionGroupIdentifier,
- required bool isFamilyShareable,
- IntroPrice? introPrice,
- required List<Discount> discounts,
- bool? isEligibleForIntroOffer,
- List<SubscriptionOption>? subscriptionOptions,
- SubscriptionOption? defaultOption,
- double? pricePerWeek,
- double? pricePerMonth,
- double? pricePerYear,
- String? pricePerWeekString,
- String? pricePerMonthString,
- String? pricePerYearString,
})
Implementation
const StoreProduct({
required this.id,
required this.type,
required this.productCategory,
required this.displayName,
this.description,
this.priceString,
this.price,
this.currencyCode,
this.subscriptionPeriod,
this.subscriptionGroupIdentifier,
required this.isFamilyShareable,
this.introPrice,
required this.discounts,
this.isEligibleForIntroOffer,
this.subscriptionOptions,
this.defaultOption,
this.pricePerWeek,
this.pricePerMonth,
this.pricePerYear,
this.pricePerWeekString,
this.pricePerMonthString,
this.pricePerYearString,
});