bindRelay method
绑定网关
Implementation
Future<bool> bindRelay(String superDeviceId, String deviceId) async {
try {
await methodChannel.invokeMethod(
"bindRelay", {"superDeviceId": superDeviceId, "deviceId": deviceId});
return Future.value(true);
} catch (e) {
rethrow;
}
}