copyWithWrapped method

WatchlistScreeningEntityProgramListResponse copyWithWrapped({
  1. Wrapped<List<EntityWatchlistProgram>>? entityWatchlistPrograms,
  2. Wrapped<String?>? nextCursor,
  3. Wrapped<String>? requestId,
})

Implementation

WatchlistScreeningEntityProgramListResponse copyWithWrapped(
    {Wrapped<List<EntityWatchlistProgram>>? entityWatchlistPrograms,
    Wrapped<String?>? nextCursor,
    Wrapped<String>? requestId}) {
  return WatchlistScreeningEntityProgramListResponse(
      entityWatchlistPrograms: (entityWatchlistPrograms != null
          ? entityWatchlistPrograms.value
          : this.entityWatchlistPrograms),
      nextCursor: (nextCursor != null ? nextCursor.value : this.nextCursor),
      requestId: (requestId != null ? requestId.value : this.requestId));
}