@override Future<bool> refreshAllDevice() { return _channel.invokeMethod("refreshAllDevice").then((value) { Map<String, dynamic> map = json.decode(value); return map["code"] == 0x00; }); }