copyWithWrapped method

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

Implementation

DocumentRiskSignalsObject copyWithWrapped(
    {Wrapped<String?>? accountId,
    Wrapped<List<SingleDocumentRiskSignal>>? singleDocumentRiskSignals,
    Wrapped<List<MultiDocumentRiskSignal>>? multiDocumentRiskSignals}) {
  return DocumentRiskSignalsObject(
      accountId: (accountId != null ? accountId.value : this.accountId),
      singleDocumentRiskSignals: (singleDocumentRiskSignals != null
          ? singleDocumentRiskSignals.value
          : this.singleDocumentRiskSignals),
      multiDocumentRiskSignals: (multiDocumentRiskSignals != null
          ? multiDocumentRiskSignals.value
          : this.multiDocumentRiskSignals));
}