copyWithWrapped method
Implementation
EntityWatchlistProgram copyWithWrapped(
{Wrapped<String>? id,
Wrapped<String>? createdAt,
Wrapped<bool>? isRescanningEnabled,
Wrapped<List<enums.EntityWatchlistCode>>? listsEnabled,
Wrapped<String>? name,
Wrapped<enums.ProgramNameSensitivity>? nameSensitivity,
Wrapped<WatchlistScreeningAuditTrail>? auditTrail,
Wrapped<bool>? isArchived}) {
return EntityWatchlistProgram(
id: (id != null ? id.value : this.id),
createdAt: (createdAt != null ? createdAt.value : this.createdAt),
isRescanningEnabled: (isRescanningEnabled != null
? isRescanningEnabled.value
: this.isRescanningEnabled),
listsEnabled:
(listsEnabled != null ? listsEnabled.value : this.listsEnabled),
name: (name != null ? name.value : this.name),
nameSensitivity: (nameSensitivity != null
? nameSensitivity.value
: this.nameSensitivity),
auditTrail: (auditTrail != null ? auditTrail.value : this.auditTrail),
isArchived: (isArchived != null ? isArchived.value : this.isArchived));
}