copyWithWrapped method

ScreeningStatusUpdatedWebhook copyWithWrapped({
  1. Wrapped<String>? webhookType,
  2. Wrapped<String>? webhookCode,
  3. Wrapped? screeningId,
  4. Wrapped<WebhookEnvironmentValues>? environment,
})

Implementation

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