getMaxStrength method

Future<int> getMaxStrength()

Returns the maximum torch strength level supported by the device. Returns 0 if not supported by the device.

Implementation

Future<int> getMaxStrength() async {
  return await TorchFlashlight.getMaxTorchStrength();
}