copyWithWrapped method

WatchlistScreeningIndividualHitListResponse copyWithWrapped({
  1. Wrapped<List<WatchlistScreeningHit>>? watchlistScreeningHits,
  2. Wrapped<String?>? nextCursor,
  3. Wrapped<String>? requestId,
})

Implementation

WatchlistScreeningIndividualHitListResponse copyWithWrapped(
    {Wrapped<List<WatchlistScreeningHit>>? watchlistScreeningHits,
    Wrapped<String?>? nextCursor,
    Wrapped<String>? requestId}) {
  return WatchlistScreeningIndividualHitListResponse(
      watchlistScreeningHits: (watchlistScreeningHits != null
          ? watchlistScreeningHits.value
          : this.watchlistScreeningHits),
      nextCursor: (nextCursor != null ? nextCursor.value : this.nextCursor),
      requestId: (requestId != null ? requestId.value : this.requestId));
}