copyWithWrapped method

WatchlistScreeningEntityReviewCreateRequest copyWithWrapped({
  1. Wrapped<List<String>>? confirmedHits,
  2. Wrapped<List<String>>? dismissedHits,
  3. Wrapped<String?>? comment,
  4. Wrapped<String?>? clientId,
  5. Wrapped<String?>? secret,
  6. Wrapped<String>? entityWatchlistScreeningId,
})

Implementation

WatchlistScreeningEntityReviewCreateRequest copyWithWrapped(
    {Wrapped<List<String>>? confirmedHits,
    Wrapped<List<String>>? dismissedHits,
    Wrapped<String?>? comment,
    Wrapped<String?>? clientId,
    Wrapped<String?>? secret,
    Wrapped<String>? entityWatchlistScreeningId}) {
  return WatchlistScreeningEntityReviewCreateRequest(
      confirmedHits:
          (confirmedHits != null ? confirmedHits.value : this.confirmedHits),
      dismissedHits:
          (dismissedHits != null ? dismissedHits.value : this.dismissedHits),
      comment: (comment != null ? comment.value : this.comment),
      clientId: (clientId != null ? clientId.value : this.clientId),
      secret: (secret != null ? secret.value : this.secret),
      entityWatchlistScreeningId: (entityWatchlistScreeningId != null
          ? entityWatchlistScreeningId.value
          : this.entityWatchlistScreeningId));
}