stopAddDevice static method

dynamic stopAddDevice()

Implementation

static stopAddDevice() async {
  if (AliIotPlugin.debug) {
    print("$TAG : stopAddDevice");
  }
  try {
    _dispatchNetSubscription?.cancel();
  } catch (e) {
    print(e);
  }
  _dispatchNetSubscription = null;
  AliIotPlugin.methodChannel.invokeMethod('stopAddDevice');
}