toggleFlash method

Future<void> toggleFlash()

Toggle the device flash / torch

Implementation

Future<void> toggleFlash() async {
  await _channel.invokeMethod('toggleFlash');
}