copyWith method

WatchlistScreeningIndividualHitListResponse copyWith({
  1. List<WatchlistScreeningHit>? watchlistScreeningHits,
  2. String? nextCursor,
  3. String? requestId,
})

Implementation

WatchlistScreeningIndividualHitListResponse copyWith(
    {List<WatchlistScreeningHit>? watchlistScreeningHits,
    String? nextCursor,
    String? requestId}) {
  return WatchlistScreeningIndividualHitListResponse(
      watchlistScreeningHits:
          watchlistScreeningHits ?? this.watchlistScreeningHits,
      nextCursor: nextCursor ?? this.nextCursor,
      requestId: requestId ?? this.requestId);
}