unbindRelay method

Future<bool> unbindRelay(
  1. String deviceId
)

解绑绑定网关

Implementation

Future<bool> unbindRelay(String deviceId) async {
  try {
    await methodChannel.invokeMethod("unbindRelay", {"deviceId": deviceId});
    return Future.value(true);
  } catch (e) {
    rethrow;
  }
}