copyWithWrapped method

Implementation

WatchlistScreeningEntityCreateResponse copyWithWrapped(
    {Wrapped<String>? id,
    Wrapped<EntityWatchlistScreeningSearchTerms>? searchTerms,
    Wrapped<String?>? assignee,
    Wrapped<enums.WatchlistScreeningStatus>? status,
    Wrapped<String?>? clientUserId,
    Wrapped<WatchlistScreeningAuditTrail>? auditTrail,
    Wrapped<String>? requestId}) {
  return WatchlistScreeningEntityCreateResponse(
      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),
      requestId: (requestId != null ? requestId.value : this.requestId));
}