toggleFlashlight static method
This allows to toggle the flashlight.
Implementation
static Future toggleFlashlight() => _channel.invokeMethod('toggleTorch');
This allows to toggle the flashlight.
static Future toggleFlashlight() => _channel.invokeMethod('toggleTorch');