switchCamera static method

dynamic switchCamera()

Used as a switchCamera class for Mirrorfly used to switch the camera rear or front

Implementation

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