switchCamera static method
切换摄像头 @param position 摄像头位置
Implementation
static void switchCamera(bool isFrontCamera) async {
await _channel
.invokeMethod("switchCamera", {"isFrontCamera": isFrontCamera});
}
切换摄像头 @param position 摄像头位置
static void switchCamera(bool isFrontCamera) async {
await _channel
.invokeMethod("switchCamera", {"isFrontCamera": isFrontCamera});
}