copyWithWrapped method

WatchlistScreeningIndividualProgramListResponse copyWithWrapped({
  1. Wrapped<List<IndividualWatchlistProgram>>? watchlistPrograms,
  2. Wrapped<String?>? nextCursor,
  3. Wrapped<String>? requestId,
})

Implementation

WatchlistScreeningIndividualProgramListResponse copyWithWrapped(
    {Wrapped<List<IndividualWatchlistProgram>>? watchlistPrograms,
    Wrapped<String?>? nextCursor,
    Wrapped<String>? requestId}) {
  return WatchlistScreeningIndividualProgramListResponse(
      watchlistPrograms: (watchlistPrograms != null
          ? watchlistPrograms.value
          : this.watchlistPrograms),
      nextCursor: (nextCursor != null ? nextCursor.value : this.nextCursor),
      requestId: (requestId != null ? requestId.value : this.requestId));
}