copyWithWrapped method

WatchlistScreeningEntityHitListResponse copyWithWrapped({
  1. Wrapped<List<EntityWatchlistScreeningHit>>? entityWatchlistScreeningHits,
  2. Wrapped<String?>? nextCursor,
  3. Wrapped<String>? requestId,
})

Implementation

WatchlistScreeningEntityHitListResponse copyWithWrapped(
    {Wrapped<List<EntityWatchlistScreeningHit>>? entityWatchlistScreeningHits,
    Wrapped<String?>? nextCursor,
    Wrapped<String>? requestId}) {
  return WatchlistScreeningEntityHitListResponse(
      entityWatchlistScreeningHits: (entityWatchlistScreeningHits != null
          ? entityWatchlistScreeningHits.value
          : this.entityWatchlistScreeningHits),
      nextCursor: (nextCursor != null ? nextCursor.value : this.nextCursor),
      requestId: (requestId != null ? requestId.value : this.requestId));
}