copyWith method

WatchlistScreeningSearchTerms copyWith({
  1. String? watchlistProgramId,
  2. String? legalName,
  3. String? dateOfBirth,
  4. String? documentNumber,
  5. String? country,
  6. double? version,
})

Implementation

WatchlistScreeningSearchTerms copyWith(
    {String? watchlistProgramId,
    String? legalName,
    String? dateOfBirth,
    String? documentNumber,
    String? country,
    double? version}) {
  return WatchlistScreeningSearchTerms(
      watchlistProgramId: watchlistProgramId ?? this.watchlistProgramId,
      legalName: legalName ?? this.legalName,
      dateOfBirth: dateOfBirth ?? this.dateOfBirth,
      documentNumber: documentNumber ?? this.documentNumber,
      country: country ?? this.country,
      version: version ?? this.version);
}