copyWith method

EntityWatchlistScreeningReview copyWith({
  1. String? id,
  2. List<String>? confirmedHits,
  3. List<String>? dismissedHits,
  4. String? comment,
  5. WatchlistScreeningAuditTrail? auditTrail,
})

Implementation

EntityWatchlistScreeningReview copyWith(
    {String? id,
    List<String>? confirmedHits,
    List<String>? dismissedHits,
    String? comment,
    WatchlistScreeningAuditTrail? auditTrail}) {
  return EntityWatchlistScreeningReview(
      id: id ?? this.id,
      confirmedHits: confirmedHits ?? this.confirmedHits,
      dismissedHits: dismissedHits ?? this.dismissedHits,
      comment: comment ?? this.comment,
      auditTrail: auditTrail ?? this.auditTrail);
}