setOrientation method

  1. @override
Future<void> setOrientation(
  1. CameraOrientation orientation
)
override

Implementation

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