是否打开闪光灯
Future<bool?> isTorchOn() async { bool? isTorchOn = await RBarcode._isTorchOn(); value = value.copyWith(isTorchOn: isTorchOn); return isTorchOn; }