copyWith method

WatchlistScreeningEntityReviewListResponse copyWith({
  1. List<EntityWatchlistScreeningReview>? entityWatchlistScreeningReviews,
  2. String? nextCursor,
  3. String? requestId,
})

Implementation

WatchlistScreeningEntityReviewListResponse copyWith(
    {List<EntityWatchlistScreeningReview>? entityWatchlistScreeningReviews,
    String? nextCursor,
    String? requestId}) {
  return WatchlistScreeningEntityReviewListResponse(
      entityWatchlistScreeningReviews: entityWatchlistScreeningReviews ??
          this.entityWatchlistScreeningReviews,
      nextCursor: nextCursor ?? this.nextCursor,
      requestId: requestId ?? this.requestId);
}