copyWithWrapped method

WatchlistScreeningIndividualUpdateRequest copyWithWrapped({
  1. Wrapped<String>? watchlistScreeningId,
  2. Wrapped<UpdateIndividualScreeningRequestSearchTerms?>? searchTerms,
  3. Wrapped<String?>? assignee,
  4. Wrapped<WatchlistScreeningStatus?>? status,
  5. Wrapped<String?>? clientUserId,
  6. Wrapped<String?>? clientId,
  7. Wrapped<String?>? secret,
  8. Wrapped<List<String>?>? resetFields,
})

Implementation

WatchlistScreeningIndividualUpdateRequest copyWithWrapped(
    {Wrapped<String>? watchlistScreeningId,
    Wrapped<UpdateIndividualScreeningRequestSearchTerms?>? searchTerms,
    Wrapped<String?>? assignee,
    Wrapped<enums.WatchlistScreeningStatus?>? status,
    Wrapped<String?>? clientUserId,
    Wrapped<String?>? clientId,
    Wrapped<String?>? secret,
    Wrapped<List<String>?>? resetFields}) {
  return WatchlistScreeningIndividualUpdateRequest(
      watchlistScreeningId: (watchlistScreeningId != null
          ? watchlistScreeningId.value
          : this.watchlistScreeningId),
      searchTerms:
          (searchTerms != null ? searchTerms.value : this.searchTerms),
      assignee: (assignee != null ? assignee.value : this.assignee),
      status: (status != null ? status.value : this.status),
      clientUserId:
          (clientUserId != null ? clientUserId.value : this.clientUserId),
      clientId: (clientId != null ? clientId.value : this.clientId),
      secret: (secret != null ? secret.value : this.secret),
      resetFields:
          (resetFields != null ? resetFields.value : this.resetFields));
}