PurchasePlanModel constructor
const
PurchasePlanModel({
- required String id,
- String? offerId,
- required String title,
- required String description,
- required String price,
- double? rawPrice,
- required String currencyCode,
- @Default('') String currencySymbol,
- @Default([]) List<
String> offerTags, - String? offerIdToken,
- @Default([]) List<
PricingPhaseWrapper> pricingPhases,
Creates a new product details object with the provided details.
Implementation
const factory PurchasePlanModel({
required String id,
String? offerId,
required String title,
required String description,
required String price,
double? rawPrice,
required String currencyCode,
@Default('') String currencySymbol,
@Default([]) List<String> offerTags,
String? offerIdToken,
@Default([]) List<PricingPhaseWrapper> pricingPhases,
}) = _PurchasePlanModel;