copyWith method
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);
}