flipCamera method
Changes lens through the shared owner when capture is idle.
Implementation
Future<void> flipCamera() async {
if (_closed || _capturing || recording) return;
try {
await session.flipCamera();
} catch (error, stack) {
_captureError(error, stack);
}
}