copyWith method

WatchlistScreeningEntityListResponse copyWith({
  1. List<EntityWatchlistScreening>? entityWatchlistScreenings,
  2. String? nextCursor,
  3. String? requestId,
})

Implementation

WatchlistScreeningEntityListResponse copyWith(
    {List<EntityWatchlistScreening>? entityWatchlistScreenings,
    String? nextCursor,
    String? requestId}) {
  return WatchlistScreeningEntityListResponse(
      entityWatchlistScreenings:
          entityWatchlistScreenings ?? this.entityWatchlistScreenings,
      nextCursor: nextCursor ?? this.nextCursor,
      requestId: requestId ?? this.requestId);
}