copyWith method

WatchlistScreeningIndividual copyWith({
  1. String? id,
  2. WatchlistScreeningSearchTerms? searchTerms,
  3. String? assignee,
  4. WatchlistScreeningStatus? status,
  5. String? clientUserId,
  6. WatchlistScreeningAuditTrail? auditTrail,
})

Implementation

WatchlistScreeningIndividual copyWith(
    {String? id,
    WatchlistScreeningSearchTerms? searchTerms,
    String? assignee,
    enums.WatchlistScreeningStatus? status,
    String? clientUserId,
    WatchlistScreeningAuditTrail? auditTrail}) {
  return WatchlistScreeningIndividual(
      id: id ?? this.id,
      searchTerms: searchTerms ?? this.searchTerms,
      assignee: assignee ?? this.assignee,
      status: status ?? this.status,
      clientUserId: clientUserId ?? this.clientUserId,
      auditTrail: auditTrail ?? this.auditTrail);
}