copyWithWrapped method

DocumentRiskSignal copyWithWrapped({
  1. Wrapped<String?>? type,
  2. Wrapped<String?>? field,
  3. Wrapped<bool?>? hasFraudRisk,
  4. Wrapped<DocumentRiskSignalInstitutionMetadata?>? institutionMetadata,
  5. Wrapped<String?>? expectedValue,
  6. Wrapped<String?>? actualValue,
  7. Wrapped<String?>? signalDescription,
  8. Wrapped<int?>? pageNumber,
})

Implementation

DocumentRiskSignal copyWithWrapped(
    {Wrapped<String?>? type,
    Wrapped<String?>? field,
    Wrapped<bool?>? hasFraudRisk,
    Wrapped<DocumentRiskSignalInstitutionMetadata?>? institutionMetadata,
    Wrapped<String?>? expectedValue,
    Wrapped<String?>? actualValue,
    Wrapped<String?>? signalDescription,
    Wrapped<int?>? pageNumber}) {
  return DocumentRiskSignal(
      type: (type != null ? type.value : this.type),
      field: (field != null ? field.value : this.field),
      hasFraudRisk:
          (hasFraudRisk != null ? hasFraudRisk.value : this.hasFraudRisk),
      institutionMetadata: (institutionMetadata != null
          ? institutionMetadata.value
          : this.institutionMetadata),
      expectedValue:
          (expectedValue != null ? expectedValue.value : this.expectedValue),
      actualValue:
          (actualValue != null ? actualValue.value : this.actualValue),
      signalDescription: (signalDescription != null
          ? signalDescription.value
          : this.signalDescription),
      pageNumber: (pageNumber != null ? pageNumber.value : this.pageNumber));
}