copyWithWrapped method

WatchlistScreeningIndividualListResponse copyWithWrapped({
  1. Wrapped<List<WatchlistScreeningIndividual>>? watchlistScreenings,
  2. Wrapped<String?>? nextCursor,
  3. Wrapped<String>? requestId,
})

Implementation

WatchlistScreeningIndividualListResponse copyWithWrapped(
    {Wrapped<List<WatchlistScreeningIndividual>>? watchlistScreenings,
    Wrapped<String?>? nextCursor,
    Wrapped<String>? requestId}) {
  return WatchlistScreeningIndividualListResponse(
      watchlistScreenings: (watchlistScreenings != null
          ? watchlistScreenings.value
          : this.watchlistScreenings),
      nextCursor: (nextCursor != null ? nextCursor.value : this.nextCursor),
      requestId: (requestId != null ? requestId.value : this.requestId));
}