copyWith method

StorePaymentPurposeStarGiveaway copyWith({
  1. GiveawayParameters? parameters,
  2. String? currency,
  3. int? amount,
  4. int? winnerCount,
  5. int? starCount,
})

Implementation

StorePaymentPurposeStarGiveaway copyWith({
  GiveawayParameters? parameters,
  String? currency,
  int? amount,
  int? winnerCount,
  int? starCount,
}) =>
    StorePaymentPurposeStarGiveaway(
      parameters: parameters ?? this.parameters,
      currency: currency ?? this.currency,
      amount: amount ?? this.amount,
      winnerCount: winnerCount ?? this.winnerCount,
      starCount: starCount ?? this.starCount,
    );