copyWith method

WatchlistScreeningEntityReviewCreateRequest copyWith({
  1. List<String>? confirmedHits,
  2. List<String>? dismissedHits,
  3. String? comment,
  4. String? clientId,
  5. String? secret,
  6. String? entityWatchlistScreeningId,
})

Implementation

WatchlistScreeningEntityReviewCreateRequest copyWith(
    {List<String>? confirmedHits,
    List<String>? dismissedHits,
    String? comment,
    String? clientId,
    String? secret,
    String? entityWatchlistScreeningId}) {
  return WatchlistScreeningEntityReviewCreateRequest(
      confirmedHits: confirmedHits ?? this.confirmedHits,
      dismissedHits: dismissedHits ?? this.dismissedHits,
      comment: comment ?? this.comment,
      clientId: clientId ?? this.clientId,
      secret: secret ?? this.secret,
      entityWatchlistScreeningId:
          entityWatchlistScreeningId ?? this.entityWatchlistScreeningId);
}