getCurrentTorchStrength method
Returns the current torch strength level. Returns 0 if not supported or torch is off.
Implementation
@override
Future<int> getCurrentTorchStrength() async {
final result =
await methodChannel.invokeMethod<int>('get_current_torch_strength');
return result ?? 0;
}