lightOFF method
turn off light
Implementation
Future<void> lightOFF() async {
try {
await channel?.invokeMethod('turnOffLight');
} on PlatformException catch (e) {
throw CodeScannerException(e.code, e.message);
}
}
turn off light
Future<void> lightOFF() async {
try {
await channel?.invokeMethod('turnOffLight');
} on PlatformException catch (e) {
throw CodeScannerException(e.code, e.message);
}
}