setCamera method
Sets a Camera to use for recording.
Use this function to switch quickly between preview and capture mode without a teardown of the camera object. Camera.unlock should be called before this. Must call before prepare.
Implementation
Future<void> setCamera(Camera camera) => _channel.$setCamera(this, camera);