toggleFlash method
Toggle flash of the device.
Can throw a PlatformException
if doesn't have flash.
Implementation
Future<void> toggleFlash() async {
return _barcodeScannerState?._toggleFlash();
}
Toggle flash of the device.
Can throw a PlatformException
if doesn't have flash.
Future<void> toggleFlash() async {
return _barcodeScannerState?._toggleFlash();
}