copyWithWrapped method

WatchlistScreeningIndividualListRequest copyWithWrapped({
  1. Wrapped<String?>? secret,
  2. Wrapped<String?>? clientId,
  3. Wrapped<String>? watchlistProgramId,
  4. Wrapped<String?>? clientUserId,
  5. Wrapped<WatchlistScreeningStatus?>? status,
  6. Wrapped<String?>? assignee,
  7. Wrapped<String?>? cursor,
})

Implementation

WatchlistScreeningIndividualListRequest copyWithWrapped(
    {Wrapped<String?>? secret,
    Wrapped<String?>? clientId,
    Wrapped<String>? watchlistProgramId,
    Wrapped<String?>? clientUserId,
    Wrapped<enums.WatchlistScreeningStatus?>? status,
    Wrapped<String?>? assignee,
    Wrapped<String?>? cursor}) {
  return WatchlistScreeningIndividualListRequest(
      secret: (secret != null ? secret.value : this.secret),
      clientId: (clientId != null ? clientId.value : this.clientId),
      watchlistProgramId: (watchlistProgramId != null
          ? watchlistProgramId.value
          : this.watchlistProgramId),
      clientUserId:
          (clientUserId != null ? clientUserId.value : this.clientUserId),
      status: (status != null ? status.value : this.status),
      assignee: (assignee != null ? assignee.value : this.assignee),
      cursor: (cursor != null ? cursor.value : this.cursor));
}