# DocumentCameraConfiguration constructor

DocumentCameraConfiguration({

1. required DocumentClassicScannerConfiguration scannerConfiguration,
2. bool? flashEnabled,
3. ContourConfiguration? contourConfiguration,
4. double? cameraZoomFactor,
5. bool detectionEnabled = true,

})

## Implementation

    DocumentCameraConfiguration({
      required this.scannerConfiguration,
      this.flashEnabled,
      this.contourConfiguration,
      this.cameraZoomFactor,
      this.detectionEnabled = true,
    });