copyWithWrapped method
DocumentaryVerificationDocument
copyWithWrapped({
- Wrapped<
DocumentStatus> ? status, - Wrapped<
double> ? attempt, - Wrapped<
PhysicalDocumentImages> ? images, - Wrapped<
PhysicalDocumentExtractedData?> ? extractedData, - Wrapped<
DocumentAnalysis> ? analysis,
Implementation
DocumentaryVerificationDocument copyWithWrapped(
{Wrapped<enums.DocumentStatus>? status,
Wrapped<double>? attempt,
Wrapped<PhysicalDocumentImages>? images,
Wrapped<PhysicalDocumentExtractedData?>? extractedData,
Wrapped<DocumentAnalysis>? analysis}) {
return DocumentaryVerificationDocument(
status: (status != null ? status.value : this.status),
attempt: (attempt != null ? attempt.value : this.attempt),
images: (images != null ? images.value : this.images),
extractedData:
(extractedData != null ? extractedData.value : this.extractedData),
analysis: (analysis != null ? analysis.value : this.analysis));
}