copyWithWrapped method
PhysicalDocumentExtractedDataAnalysis
copyWithWrapped({
- Wrapped<
DocumentNameMatchCode> ? name, - Wrapped<
DocumentDateOfBirthMatchCode> ? dateOfBirth, - Wrapped<
ExpirationDate> ? expirationDate, - Wrapped<
IssuingCountry> ? issuingCountry,
Implementation
PhysicalDocumentExtractedDataAnalysis copyWithWrapped(
{Wrapped<enums.DocumentNameMatchCode>? name,
Wrapped<enums.DocumentDateOfBirthMatchCode>? dateOfBirth,
Wrapped<enums.ExpirationDate>? expirationDate,
Wrapped<enums.IssuingCountry>? issuingCountry}) {
return PhysicalDocumentExtractedDataAnalysis(
name: (name != null ? name.value : this.name),
dateOfBirth:
(dateOfBirth != null ? dateOfBirth.value : this.dateOfBirth),
expirationDate: (expirationDate != null
? expirationDate.value
: this.expirationDate),
issuingCountry: (issuingCountry != null
? issuingCountry.value
: this.issuingCountry));
}