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