copyWith method
CommodityStoreEntity
copyWith({
- String? subscriptionRoundUnit,
- int? subscriptionRoundValue,
- String? introductoryPaymentMode,
- String? introductoryRoundUnit,
- int? promotionalRoundValue,
- bool? isEligibleForIntroOffer,
- String? storeCurrency,
- bool? isEligiblePromotionalOffer,
- int? introductoryRoundValue,
- num? promotionalOfferPrice,
- num? storePrice,
- String? promotionalRoundUnit,
- num? introductoryOfferPrice,
Implementation
CommodityStoreEntity copyWith({ String? subscriptionRoundUnit,
int? subscriptionRoundValue,
String? introductoryPaymentMode,
String? introductoryRoundUnit,
int? promotionalRoundValue,
bool? isEligibleForIntroOffer,
String? storeCurrency,
bool? isEligiblePromotionalOffer,
int? introductoryRoundValue,
num? promotionalOfferPrice,
num? storePrice,
String? promotionalRoundUnit,
num? introductoryOfferPrice,
}) => CommodityStoreEntity( subscriptionRoundUnit: subscriptionRoundUnit ?? this.subscriptionRoundUnit,
subscriptionRoundValue: subscriptionRoundValue ?? this.subscriptionRoundValue,
introductoryPaymentMode: introductoryPaymentMode ?? this.introductoryPaymentMode,
introductoryRoundUnit: introductoryRoundUnit ?? this.introductoryRoundUnit,
promotionalRoundValue: promotionalRoundValue ?? this.promotionalRoundValue,
isEligibleForIntroOffer: isEligibleForIntroOffer ?? this.isEligibleForIntroOffer,
storeCurrency: storeCurrency ?? this.storeCurrency,
isEligiblePromotionalOffer: isEligiblePromotionalOffer ?? this.isEligiblePromotionalOffer,
introductoryRoundValue: introductoryRoundValue ?? this.introductoryRoundValue,
promotionalOfferPrice: promotionalOfferPrice ?? this.promotionalOfferPrice,
storePrice: storePrice ?? this.storePrice,
promotionalRoundUnit: promotionalRoundUnit ?? this.promotionalRoundUnit,
introductoryOfferPrice: introductoryOfferPrice ?? this.introductoryOfferPrice,
);