copyWithWrapped method

UpdateIndividualScreeningRequestSearchTerms copyWithWrapped({
  1. Wrapped<String?>? watchlistProgramId,
  2. Wrapped<String?>? legalName,
  3. Wrapped<String?>? dateOfBirth,
  4. Wrapped<String?>? documentNumber,
  5. Wrapped<String?>? country,
})

Implementation

UpdateIndividualScreeningRequestSearchTerms copyWithWrapped(
    {Wrapped<String?>? watchlistProgramId,
    Wrapped<String?>? legalName,
    Wrapped<String?>? dateOfBirth,
    Wrapped<String?>? documentNumber,
    Wrapped<String?>? country}) {
  return UpdateIndividualScreeningRequestSearchTerms(
      watchlistProgramId: (watchlistProgramId != null
          ? watchlistProgramId.value
          : this.watchlistProgramId),
      legalName: (legalName != null ? legalName.value : this.legalName),
      dateOfBirth:
          (dateOfBirth != null ? dateOfBirth.value : this.dateOfBirth),
      documentNumber: (documentNumber != null
          ? documentNumber.value
          : this.documentNumber),
      country: (country != null ? country.value : this.country));
}