copyWith method

WatchlistScreeningHit copyWith({
  1. String? id,
  2. WatchlistScreeningHitStatus? reviewStatus,
  3. String? firstActive,
  4. String? inactiveSince,
  5. String? historicalSince,
  6. IndividualWatchlistCode? listCode,
  7. String? plaidUid,
  8. String? sourceUid,
  9. ScreeningHitAnalysis? analysis,
  10. ScreeningHitData? data,
})

Implementation

WatchlistScreeningHit copyWith(
    {String? id,
    enums.WatchlistScreeningHitStatus? reviewStatus,
    String? firstActive,
    String? inactiveSince,
    String? historicalSince,
    enums.IndividualWatchlistCode? listCode,
    String? plaidUid,
    String? sourceUid,
    ScreeningHitAnalysis? analysis,
    ScreeningHitData? data}) {
  return WatchlistScreeningHit(
      id: id ?? this.id,
      reviewStatus: reviewStatus ?? this.reviewStatus,
      firstActive: firstActive ?? this.firstActive,
      inactiveSince: inactiveSince ?? this.inactiveSince,
      historicalSince: historicalSince ?? this.historicalSince,
      listCode: listCode ?? this.listCode,
      plaidUid: plaidUid ?? this.plaidUid,
      sourceUid: sourceUid ?? this.sourceUid,
      analysis: analysis ?? this.analysis,
      data: data ?? this.data);
}