copyWith method

WatchlistScreeningIndividualListResponse copyWith({
  1. List<WatchlistScreeningIndividual>? watchlistScreenings,
  2. String? nextCursor,
  3. String? requestId,
})

Implementation

WatchlistScreeningIndividualListResponse copyWith(
    {List<WatchlistScreeningIndividual>? watchlistScreenings,
    String? nextCursor,
    String? requestId}) {
  return WatchlistScreeningIndividualListResponse(
      watchlistScreenings: watchlistScreenings ?? this.watchlistScreenings,
      nextCursor: nextCursor ?? this.nextCursor,
      requestId: requestId ?? this.requestId);
}