copyWith method

WatchlistScreeningEntityGetResponse copyWith({
  1. String? id,
  2. EntityWatchlistScreeningSearchTerms? searchTerms,
  3. String? assignee,
  4. WatchlistScreeningStatus? status,
  5. String? clientUserId,
  6. WatchlistScreeningAuditTrail? auditTrail,
  7. String? requestId,
})

Implementation

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