copyWithWrapped method

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