copyWithWrapped method

WatchlistScreeningEntityHistoryListResponse copyWithWrapped({
  1. Wrapped<List<EntityWatchlistScreening>>? entityWatchlistScreenings,
  2. Wrapped<String?>? nextCursor,
  3. Wrapped<String>? requestId,
})

Implementation

WatchlistScreeningEntityHistoryListResponse copyWithWrapped(
    {Wrapped<List<EntityWatchlistScreening>>? entityWatchlistScreenings,
    Wrapped<String?>? nextCursor,
    Wrapped<String>? requestId}) {
  return WatchlistScreeningEntityHistoryListResponse(
      entityWatchlistScreenings: (entityWatchlistScreenings != null
          ? entityWatchlistScreenings.value
          : this.entityWatchlistScreenings),
      nextCursor: (nextCursor != null ? nextCursor.value : this.nextCursor),
      requestId: (requestId != null ? requestId.value : this.requestId));
}