switchCamera method

Future<int> switchCamera()

ZH

翻转摄像头

EN

Switch camera

Implementation

Future<int> switchCamera() async {
  int code = await _channel.invokeMethod('switchCamera') ?? -1;
  await getCurrentCallSession();
  return code;
}