@override Future<void> enableLed(bool val) async { try { await methodChannel.invokeMethod(METHOD_TOGGLE_LED, val); } on PlatformException catch (e) { //exception handling throw _libException(e); } }