switchCameraDirection method

Future switchCameraDirection(
  1. {@required CameraDirection direction}
)

Implementation

Future switchCameraDirection({@required CameraDirection direction}) async {
  return channel.invokeMethod('switchCameraDirection', <String, dynamic>{
    'direction': CameraDirection.values.indexOf(direction),
  });
}