toggleFlashlight static method

Future toggleFlashlight()

This allows to toggle the flashlight.

Implementation

static Future toggleFlashlight() => _channel.invokeMethod('toggleTorch');