Future<void> sendTempUnit(int temp) async { await mConnMethodChannel .invokeMethod("sendTempUnit", <String, int>{"temp": temp}); }