switchCamera method

Future<void> switchCamera()

Switches the current camera to a different camera that is available.

Implementation

Future<void> switchCamera() async {
  return await _methodChannel.invokeMethod<void>("switchCamera");
}