lockCaptureOrientation method
Pin the preview's connection orientation. Used today only to lock the preview to portrait so it never appears stretched/rotated.
Implementation
@override
Future<void> lockCaptureOrientation(
int handle,
DeviceOrientation orientation,
) => _invokeVoid('lockCaptureOrientation', {
'handle': handle,
'orientation': _orientationArg(orientation),
});