DocumentScanningResult constructor

DocumentScanningResult({
  1. required DocumentDetectionResult detectionResult,
  2. ImageRef? croppedImage,
})

Implementation

DocumentScanningResult({
  required this.detectionResult,
  ImageRef? croppedImage,
}) : croppedImage = croppedImage ?? null;