copyWith method
PremiumStatePaymentOption
copyWith({
- PremiumPaymentOption? paymentOption,
- bool? isCurrent,
- bool? isUpgrade,
- String? lastTransactionId,
Implementation
PremiumStatePaymentOption copyWith({
PremiumPaymentOption? paymentOption,
bool? isCurrent,
bool? isUpgrade,
String? lastTransactionId,
}) =>
PremiumStatePaymentOption(
paymentOption: paymentOption ?? this.paymentOption,
isCurrent: isCurrent ?? this.isCurrent,
isUpgrade: isUpgrade ?? this.isUpgrade,
lastTransactionId: lastTransactionId ?? this.lastTransactionId,
);