CameraCaptureOptions.from constructor

CameraCaptureOptions.from(
  1. {required VideoCaptureOptions captureOptions}
)

Implementation

CameraCaptureOptions.from({required VideoCaptureOptions captureOptions})
    : cameraPosition = CameraPosition.front,
      super(
        params: captureOptions.params,
        deviceId: captureOptions.deviceId,
        maxFrameRate: captureOptions.maxFrameRate,
      );