copyWithWrapped method

Implementation

EntityWatchlistScreening copyWithWrapped(
    {Wrapped<String>? id,
    Wrapped<EntityWatchlistScreeningSearchTerms>? searchTerms,
    Wrapped<String?>? assignee,
    Wrapped<enums.WatchlistScreeningStatus>? status,
    Wrapped<String?>? clientUserId,
    Wrapped<WatchlistScreeningAuditTrail>? auditTrail}) {
  return EntityWatchlistScreening(
      id: (id != null ? id.value : this.id),
      searchTerms:
          (searchTerms != null ? searchTerms.value : this.searchTerms),
      assignee: (assignee != null ? assignee.value : this.assignee),
      status: (status != null ? status.value : this.status),
      clientUserId:
          (clientUserId != null ? clientUserId.value : this.clientUserId),
      auditTrail: (auditTrail != null ? auditTrail.value : this.auditTrail));
}