setOrientation method
Implementation
@override
Future<void> setOrientation(CameraOrientation orientation) {
return methodChannel.invokeMethod<void>(
'setOrientation',
<String, dynamic>{
'orientation': orientation.index,
},
);
}