toggleFlashlight method

Future<bool> toggleFlashlight(
  1. bool on
)

Implementation

Future<bool> toggleFlashlight(bool on) {
  final params = {"status": on};
  return _channel.invokeMethod<bool>("toggleFlashlight", params);
}