torch_plus 0.0.1
torch_plus: ^0.0.1 copied to clipboard
A package that we can use to easily turn the phone's flashlight on and off
Torch Plus #
It is an updated package that lets you turn on or off your phone's flashlight or toggle it.
Features #
- Turn on the flashlight
- Turn off the flashlight
- Toggle the flashlight
- Access data on whether the flashlight is on or not
Usage #
Turn On 🚀
await TorchPlus.turnOn()
Turn Off 🚀
await TorchPlus.turnOff()
Toggle 🚀
await TorchPlus.toggle()
Is Torched 🚀
await TorchPlus.isTorched()