getCurrentStrength method

Future<int> getCurrentStrength()

Returns the current torch strength level. Returns 0 if not supported or torch is off.

Implementation

Future<int> getCurrentStrength() async {
  return await TorchFlashlight.getCurrentTorchStrength();
}