refreshAllDevice method

  1. @override
Future<bool> refreshAllDevice()
override

Implementation

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