copyWith method

CommodityStoreEntity copyWith({
  1. String? subscriptionRoundUnit,
  2. int? subscriptionRoundValue,
  3. String? introductoryPaymentMode,
  4. String? introductoryRoundUnit,
  5. int? promotionalRoundValue,
  6. bool? isEligibleForIntroOffer,
  7. String? storeCurrency,
  8. bool? isEligiblePromotionalOffer,
  9. int? introductoryRoundValue,
  10. num? promotionalOfferPrice,
  11. num? storePrice,
  12. String? promotionalRoundUnit,
  13. 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,
    );