copyWithWrapped method
Implementation
InitialUpdateWebhook copyWithWrapped(
{Wrapped<String>? webhookType,
Wrapped<String>? webhookCode,
Wrapped<String?>? error,
Wrapped<double>? newTransactions,
Wrapped<String>? itemId,
Wrapped<enums.WebhookEnvironmentValues>? environment}) {
return InitialUpdateWebhook(
webhookType:
(webhookType != null ? webhookType.value : this.webhookType),
webhookCode:
(webhookCode != null ? webhookCode.value : this.webhookCode),
error: (error != null ? error.value : this.error),
newTransactions: (newTransactions != null
? newTransactions.value
: this.newTransactions),
itemId: (itemId != null ? itemId.value : this.itemId),
environment:
(environment != null ? environment.value : this.environment));
}