copyWith method
StorePaymentPurposePremiumGift
copyWith({
- String? currency,
- int? amount,
- int? userId,
- 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,
);