copyWith method

UpdateEntityScreeningRequestSearchTerms copyWith({
  1. String? entityWatchlistProgramId,
  2. String? legalName,
  3. String? documentNumber,
  4. String? emailAddress,
  5. String? country,
  6. String? phoneNumber,
  7. String? url,
  8. String? clientId,
  9. String? secret,
})

Implementation

UpdateEntityScreeningRequestSearchTerms copyWith(
    {String? entityWatchlistProgramId,
    String? legalName,
    String? documentNumber,
    String? emailAddress,
    String? country,
    String? phoneNumber,
    String? url,
    String? clientId,
    String? secret}) {
  return UpdateEntityScreeningRequestSearchTerms(
      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,
      clientId: clientId ?? this.clientId,
      secret: secret ?? this.secret);
}