copyWithWrapped method

VerificationExpiredWebhook copyWithWrapped({
  1. Wrapped<String>? webhookType,
  2. Wrapped<String>? webhookCode,
  3. Wrapped<String>? itemId,
  4. Wrapped<String>? accountId,
  5. Wrapped<WebhookEnvironmentValues>? environment,
})

Implementation

VerificationExpiredWebhook copyWithWrapped(
    {Wrapped<String>? webhookType,
    Wrapped<String>? webhookCode,
    Wrapped<String>? itemId,
    Wrapped<String>? accountId,
    Wrapped<enums.WebhookEnvironmentValues>? environment}) {
  return VerificationExpiredWebhook(
      webhookType:
          (webhookType != null ? webhookType.value : this.webhookType),
      webhookCode:
          (webhookCode != null ? webhookCode.value : this.webhookCode),
      itemId: (itemId != null ? itemId.value : this.itemId),
      accountId: (accountId != null ? accountId.value : this.accountId),
      environment:
          (environment != null ? environment.value : this.environment));
}