copyWith method
Implementation
PremiumPaymentOption copyWith({
String? currency,
int? amount,
int? discountPercentage,
int? monthCount,
String? storeProductId,
InternalLinkType? paymentLink,
}) =>
PremiumPaymentOption(
currency: currency ?? this.currency,
amount: amount ?? this.amount,
discountPercentage: discountPercentage ?? this.discountPercentage,
monthCount: monthCount ?? this.monthCount,
storeProductId: storeProductId ?? this.storeProductId,
paymentLink: paymentLink ?? this.paymentLink,
);