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