copyWith method

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

Implementation

WatchlistScreeningIndividualProgramListResponse copyWith(
    {List<IndividualWatchlistProgram>? watchlistPrograms,
    String? nextCursor,
    String? requestId}) {
  return WatchlistScreeningIndividualProgramListResponse(
      watchlistPrograms: watchlistPrograms ?? this.watchlistPrograms,
      nextCursor: nextCursor ?? this.nextCursor,
      requestId: requestId ?? this.requestId);
}