switchToCamera method

Future<int> switchToCamera(
  1. RCRTCCamera camera
)

Implementation

Future<int> switchToCamera(RCRTCCamera camera) async {
  int code = await _channel.invokeMethod('switchToCamera', camera.index) ?? -1;
  return code;
}