copyWith method

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

Implementation

DocumentRiskSignal copyWith(
    {String? type,
    String? field,
    bool? hasFraudRisk,
    DocumentRiskSignalInstitutionMetadata? institutionMetadata,
    String? expectedValue,
    String? actualValue,
    String? signalDescription,
    int? pageNumber}) {
  return DocumentRiskSignal(
      type: type ?? this.type,
      field: field ?? this.field,
      hasFraudRisk: hasFraudRisk ?? this.hasFraudRisk,
      institutionMetadata: institutionMetadata ?? this.institutionMetadata,
      expectedValue: expectedValue ?? this.expectedValue,
      actualValue: actualValue ?? this.actualValue,
      signalDescription: signalDescription ?? this.signalDescription,
      pageNumber: pageNumber ?? this.pageNumber);
}