copyWith method

DocumentRiskSignalsObject copyWith({
  1. String? accountId,
  2. List<SingleDocumentRiskSignal>? singleDocumentRiskSignals,
  3. List<MultiDocumentRiskSignal>? multiDocumentRiskSignals,
})

Implementation

DocumentRiskSignalsObject copyWith(
    {String? accountId,
    List<SingleDocumentRiskSignal>? singleDocumentRiskSignals,
    List<MultiDocumentRiskSignal>? multiDocumentRiskSignals}) {
  return DocumentRiskSignalsObject(
      accountId: accountId ?? this.accountId,
      singleDocumentRiskSignals:
          singleDocumentRiskSignals ?? this.singleDocumentRiskSignals,
      multiDocumentRiskSignals:
          multiDocumentRiskSignals ?? this.multiDocumentRiskSignals);
}