copyWithWrapped method

DocumentAnalysis copyWithWrapped({
  1. Wrapped<DocumentAuthenticityMatchCode>? authenticity,
  2. Wrapped<ImageQuality>? imageQuality,
  3. Wrapped<PhysicalDocumentExtractedDataAnalysis?>? extractedData,
})

Implementation

DocumentAnalysis copyWithWrapped(
    {Wrapped<enums.DocumentAuthenticityMatchCode>? authenticity,
    Wrapped<enums.ImageQuality>? imageQuality,
    Wrapped<PhysicalDocumentExtractedDataAnalysis?>? extractedData}) {
  return DocumentAnalysis(
      authenticity:
          (authenticity != null ? authenticity.value : this.authenticity),
      imageQuality:
          (imageQuality != null ? imageQuality.value : this.imageQuality),
      extractedData:
          (extractedData != null ? extractedData.value : this.extractedData));
}