copyWith method

WatchlistScreeningEntityHitListResponse copyWith({
  1. List<EntityWatchlistScreeningHit>? entityWatchlistScreeningHits,
  2. String? nextCursor,
  3. String? requestId,
})

Implementation

WatchlistScreeningEntityHitListResponse copyWith(
    {List<EntityWatchlistScreeningHit>? entityWatchlistScreeningHits,
    String? nextCursor,
    String? requestId}) {
  return WatchlistScreeningEntityHitListResponse(
      entityWatchlistScreeningHits:
          entityWatchlistScreeningHits ?? this.entityWatchlistScreeningHits,
      nextCursor: nextCursor ?? this.nextCursor,
      requestId: requestId ?? this.requestId);
}