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