copyWith method
WatchlistScreeningIndividualProgramGetResponse
copyWith({
- String? id,
- String? createdAt,
- bool? isRescanningEnabled,
- List<
IndividualWatchlistCode> ? listsEnabled, - String? name,
- ProgramNameSensitivity? nameSensitivity,
- WatchlistScreeningAuditTrail? auditTrail,
- bool? isArchived,
- String? requestId,
Implementation
WatchlistScreeningIndividualProgramGetResponse copyWith(
{String? id,
String? createdAt,
bool? isRescanningEnabled,
List<enums.IndividualWatchlistCode>? listsEnabled,
String? name,
enums.ProgramNameSensitivity? nameSensitivity,
WatchlistScreeningAuditTrail? auditTrail,
bool? isArchived,
String? requestId}) {
return WatchlistScreeningIndividualProgramGetResponse(
id: id ?? this.id,
createdAt: createdAt ?? this.createdAt,
isRescanningEnabled: isRescanningEnabled ?? this.isRescanningEnabled,
listsEnabled: listsEnabled ?? this.listsEnabled,
name: name ?? this.name,
nameSensitivity: nameSensitivity ?? this.nameSensitivity,
auditTrail: auditTrail ?? this.auditTrail,
isArchived: isArchived ?? this.isArchived,
requestId: requestId ?? this.requestId);
}