copyWith method

StorePaymentPurposePremiumGift copyWith({
  1. String? currency,
  2. int? amount,
  3. int? userId,
  4. FormattedText? text,
})

Implementation

StorePaymentPurposePremiumGift copyWith({
  String? currency,
  int? amount,
  int? userId,
  FormattedText? text,
}) =>
    StorePaymentPurposePremiumGift(
      currency: currency ?? this.currency,
      amount: amount ?? this.amount,
      userId: userId ?? this.userId,
      text: text ?? this.text,
    );