copyWithWrapped method
Implementation
DepositSwitchStateUpdateWebhook copyWithWrapped(
{Wrapped<String?>? webhookType,
Wrapped<String?>? webhookCode,
Wrapped<String?>? state,
Wrapped<String?>? depositSwitchId,
Wrapped<enums.WebhookEnvironmentValues?>? environment}) {
return DepositSwitchStateUpdateWebhook(
webhookType:
(webhookType != null ? webhookType.value : this.webhookType),
webhookCode:
(webhookCode != null ? webhookCode.value : this.webhookCode),
state: (state != null ? state.value : this.state),
depositSwitchId: (depositSwitchId != null
? depositSwitchId.value
: this.depositSwitchId),
environment:
(environment != null ? environment.value : this.environment));
}