copyWithWrapped method

UpdateEntityScreeningRequestSearchTerms copyWithWrapped({
  1. Wrapped<String>? entityWatchlistProgramId,
  2. Wrapped<String?>? legalName,
  3. Wrapped<String?>? documentNumber,
  4. Wrapped<String?>? emailAddress,
  5. Wrapped<String?>? country,
  6. Wrapped<String?>? phoneNumber,
  7. Wrapped<String?>? url,
  8. Wrapped<String>? clientId,
  9. Wrapped<String>? secret,
})

Implementation

UpdateEntityScreeningRequestSearchTerms copyWithWrapped(
    {Wrapped<String>? entityWatchlistProgramId,
    Wrapped<String?>? legalName,
    Wrapped<String?>? documentNumber,
    Wrapped<String?>? emailAddress,
    Wrapped<String?>? country,
    Wrapped<String?>? phoneNumber,
    Wrapped<String?>? url,
    Wrapped<String>? clientId,
    Wrapped<String>? secret}) {
  return UpdateEntityScreeningRequestSearchTerms(
      entityWatchlistProgramId: (entityWatchlistProgramId != null
          ? entityWatchlistProgramId.value
          : this.entityWatchlistProgramId),
      legalName: (legalName != null ? legalName.value : this.legalName),
      documentNumber: (documentNumber != null
          ? documentNumber.value
          : this.documentNumber),
      emailAddress:
          (emailAddress != null ? emailAddress.value : this.emailAddress),
      country: (country != null ? country.value : this.country),
      phoneNumber:
          (phoneNumber != null ? phoneNumber.value : this.phoneNumber),
      url: (url != null ? url.value : this.url),
      clientId: (clientId != null ? clientId.value : this.clientId),
      secret: (secret != null ? secret.value : this.secret));
}