copyWithWrapped method

IncomeVerificationStatusWebhook copyWithWrapped({
  1. Wrapped<String>? webhookType,
  2. Wrapped<String>? webhookCode,
  3. Wrapped<String>? itemId,
  4. Wrapped<String?>? userId,
  5. Wrapped<String>? verificationStatus,
  6. Wrapped<WebhookEnvironmentValues>? environment,
})

Implementation

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