copyWithWrapped method

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

Implementation

WatchlistScreeningEntityListRequest copyWithWrapped(
    {Wrapped<String?>? secret,
    Wrapped<String?>? clientId,
    Wrapped<String>? entityWatchlistProgramId,
    Wrapped<String?>? clientUserId,
    Wrapped<enums.WatchlistScreeningStatus?>? status,
    Wrapped<String?>? assignee,
    Wrapped<String?>? cursor}) {
  return WatchlistScreeningEntityListRequest(
      secret: (secret != null ? secret.value : this.secret),
      clientId: (clientId != null ? clientId.value : this.clientId),
      entityWatchlistProgramId: (entityWatchlistProgramId != null
          ? entityWatchlistProgramId.value
          : this.entityWatchlistProgramId),
      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));
}