copyWith method
WalletTransactionStatusUpdateWebhook
copyWith({
- String? webhookType,
- String? webhookCode,
- String? transactionId,
- WalletTransactionStatus? newStatus,
- WalletTransactionStatus? oldStatus,
- DateTime? timestamp,
- WebhookEnvironmentValues? environment,
Implementation
WalletTransactionStatusUpdateWebhook copyWith(
{String? webhookType,
String? webhookCode,
String? transactionId,
enums.WalletTransactionStatus? newStatus,
enums.WalletTransactionStatus? oldStatus,
DateTime? timestamp,
enums.WebhookEnvironmentValues? environment}) {
return WalletTransactionStatusUpdateWebhook(
webhookType: webhookType ?? this.webhookType,
webhookCode: webhookCode ?? this.webhookCode,
transactionId: transactionId ?? this.transactionId,
newStatus: newStatus ?? this.newStatus,
oldStatus: oldStatus ?? this.oldStatus,
timestamp: timestamp ?? this.timestamp,
environment: environment ?? this.environment);
}