copyWith method

WatchlistScreeningEntityListRequest copyWith({
  1. String? secret,
  2. String? clientId,
  3. String? entityWatchlistProgramId,
  4. String? clientUserId,
  5. WatchlistScreeningStatus? status,
  6. String? assignee,
  7. String? cursor,
})

Implementation

WatchlistScreeningEntityListRequest copyWith(
    {String? secret,
    String? clientId,
    String? entityWatchlistProgramId,
    String? clientUserId,
    enums.WatchlistScreeningStatus? status,
    String? assignee,
    String? cursor}) {
  return WatchlistScreeningEntityListRequest(
      secret: secret ?? this.secret,
      clientId: clientId ?? this.clientId,
      entityWatchlistProgramId:
          entityWatchlistProgramId ?? this.entityWatchlistProgramId,
      clientUserId: clientUserId ?? this.clientUserId,
      status: status ?? this.status,
      assignee: assignee ?? this.assignee,
      cursor: cursor ?? this.cursor);
}