setTorch static method
Implementation
static void setTorch(bool enable) {
_channel.invokeMethod('setTorch', <String, dynamic> {
'enable': enable
});
}
static void setTorch(bool enable) {
_channel.invokeMethod('setTorch', <String, dynamic> {
'enable': enable
});
}