getMaxTorchStrength method
Returns the maximum torch strength level supported by the device. Returns 0 if not supported.
Implementation
@override
Future<int> getMaxTorchStrength() async {
final result =
await methodChannel.invokeMethod<int>('get_max_torch_strength');
return result ?? 0;
}