DocumentScanState constructor

DocumentScanState({
  1. bool isProcessing = false,
  2. bool showError = false,
  3. double uploadProgress = 0.0,
  4. CameraState cameraState = CameraState.loading,
  5. File? capturedImage,
  6. File? videoRecordingFile,
  7. required AppScreen screen,
  8. required DocumentSide currentSide,
})

Implementation

DocumentScanState({
  this.isProcessing = false,
  this.showError = false,
  this.uploadProgress = 0.0,
  this.cameraState = CameraState.loading,
  this.capturedImage,
  this.videoRecordingFile,
  required this.screen,
  required this.currentSide,
});