switchCamera method

Future<int> switchCamera()

Implementation

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