copyWith method

WatchlistScreeningEntityHistoryListResponse copyWith({
  1. List<EntityWatchlistScreening>? entityWatchlistScreenings,
  2. String? nextCursor,
  3. String? requestId,
})

Implementation

WatchlistScreeningEntityHistoryListResponse copyWith(
    {List<EntityWatchlistScreening>? entityWatchlistScreenings,
    String? nextCursor,
    String? requestId}) {
  return WatchlistScreeningEntityHistoryListResponse(
      entityWatchlistScreenings:
          entityWatchlistScreenings ?? this.entityWatchlistScreenings,
      nextCursor: nextCursor ?? this.nextCursor,
      requestId: requestId ?? this.requestId);
}