copyWith method
Implementation
EntityWatchlistSearchTerms copyWith(
{String? entityWatchlistProgramId,
String? legalName,
String? documentNumber,
String? emailAddress,
String? country,
String? phoneNumber,
String? url}) {
return EntityWatchlistSearchTerms(
entityWatchlistProgramId:
entityWatchlistProgramId ?? this.entityWatchlistProgramId,
legalName: legalName ?? this.legalName,
documentNumber: documentNumber ?? this.documentNumber,
emailAddress: emailAddress ?? this.emailAddress,
country: country ?? this.country,
phoneNumber: phoneNumber ?? this.phoneNumber,
url: url ?? this.url);
}