copyWith method

  1. @override
StorePaymentPurposeGiftedPremium copyWith({
  1. int? userId,
  2. String? currency,
  3. int? amount,
})
override

Implementation

@override
StorePaymentPurposeGiftedPremium copyWith({
  int? userId,
  String? currency,
  int? amount,
}) =>
    StorePaymentPurposeGiftedPremium(
      userId: userId ?? this.userId,
      currency: currency ?? this.currency,
      amount: amount ?? this.amount,
    );