copyWith method
PaymentForm
copyWith(
{ - int? id,
- Invoice? invoice,
- String? url,
- int? sellerBotUserId,
- int? paymentsProviderUserId,
- PaymentsProviderStripe? paymentsProvider,
- OrderInfo? savedOrderInfo,
- SavedCredentials? savedCredentials,
- bool? canSaveCredentials,
- bool? needPassword,
- int? clientId,
})
Implementation
PaymentForm copyWith({
int? id,
Invoice? invoice,
String? url,
int? sellerBotUserId,
int? paymentsProviderUserId,
PaymentsProviderStripe? paymentsProvider,
OrderInfo? savedOrderInfo,
SavedCredentials? savedCredentials,
bool? canSaveCredentials,
bool? needPassword,
dynamic extra,
int? clientId,
}) => PaymentForm(
id: id ?? this.id,
invoice: invoice ?? this.invoice,
url: url ?? this.url,
sellerBotUserId: sellerBotUserId ?? this.sellerBotUserId,
paymentsProviderUserId: paymentsProviderUserId ?? this.paymentsProviderUserId,
paymentsProvider: paymentsProvider ?? this.paymentsProvider,
savedOrderInfo: savedOrderInfo ?? this.savedOrderInfo,
savedCredentials: savedCredentials ?? this.savedCredentials,
canSaveCredentials: canSaveCredentials ?? this.canSaveCredentials,
needPassword: needPassword ?? this.needPassword,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);