setCameraOrientation method

Future<void> setCameraOrientation(
  1. CameraOrientation orientation
)

Sets orientation as the new current camera orientation.

Implementation

Future<void> setCameraOrientation(CameraOrientation orientation) async {
  await _channel.invokeMethod("setCameraOrientation", {"orientation": orientation.name.toUpperCase()});
}