switchCamera static method

dynamic switchCamera()

Switches the camera used for video call.

This static method asynchronously switches the camera being used for video call. switch the camera rear or front

Implementation

static switchCamera() async {
  return FlyChatFlutterPlatform.instance.switchCamera();
}