CameraValue constructor

const CameraValue({
  1. required bool isInitialized,
  2. String? errorDescription,
  3. Size? previewSize,
  4. required bool isRecordingVideo,
  5. required bool isTakingPicture,
  6. required bool isStreamingImages,
  7. required dynamic isRecordingPaused,
})

Implementation

const CameraValue({
  required this.isInitialized,
  this.errorDescription,
  this.previewSize,
  required this.isRecordingVideo,
  required this.isTakingPicture,
  required this.isStreamingImages,
  required isRecordingPaused,
}) : _isRecordingPaused = isRecordingPaused;