CameraInfo constructor

CameraInfo({
  1. required int cameraId,
  2. required int facing,
  3. required int orientation,
  4. required bool? canDisableShutterSound,
})

Default constructor for CameraInfo.

Implementation

CameraInfo({
  required this.cameraId,
  required this.facing,
  required this.orientation,
  required this.canDisableShutterSound,
}) : assert(facing == cameraFacingBack || facing == cameraFacingFront);