copyWithWrapped method
WatchlistScreeningIndividualGetResponse
copyWithWrapped({
- Wrapped<
String> ? id, - Wrapped<
WatchlistScreeningSearchTerms> ? searchTerms, - Wrapped<
String?> ? assignee, - Wrapped<
WatchlistScreeningStatus> ? status, - Wrapped<
String?> ? clientUserId, - Wrapped<
WatchlistScreeningAuditTrail> ? auditTrail, - Wrapped<
String> ? requestId,
Implementation
WatchlistScreeningIndividualGetResponse copyWithWrapped(
{Wrapped<String>? id,
Wrapped<WatchlistScreeningSearchTerms>? searchTerms,
Wrapped<String?>? assignee,
Wrapped<enums.WatchlistScreeningStatus>? status,
Wrapped<String?>? clientUserId,
Wrapped<WatchlistScreeningAuditTrail>? auditTrail,
Wrapped<String>? requestId}) {
return WatchlistScreeningIndividualGetResponse(
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));
}