copyWith method

PremiumGiveawayPaymentOption copyWith({
  1. String? currency,
  2. int? amount,
  3. int? winnerCount,
  4. int? monthCount,
  5. String? storeProductId,
  6. int? storeProductQuantity,
})

Implementation

PremiumGiveawayPaymentOption copyWith({
  String? currency,
  int? amount,
  int? winnerCount,
  int? monthCount,
  String? storeProductId,
  int? storeProductQuantity,
}) => PremiumGiveawayPaymentOption(
  currency: currency ?? this.currency,
  amount: amount ?? this.amount,
  winnerCount: winnerCount ?? this.winnerCount,
  monthCount: monthCount ?? this.monthCount,
  storeProductId: storeProductId ?? this.storeProductId,
  storeProductQuantity: storeProductQuantity ?? this.storeProductQuantity,
);