copyWith method

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

Implementation

WatchlistScreeningEntityProgramListResponse copyWith(
    {List<EntityWatchlistProgram>? entityWatchlistPrograms,
    String? nextCursor,
    String? requestId}) {
  return WatchlistScreeningEntityProgramListResponse(
      entityWatchlistPrograms:
          entityWatchlistPrograms ?? this.entityWatchlistPrograms,
      nextCursor: nextCursor ?? this.nextCursor,
      requestId: requestId ?? this.requestId);
}