disconnect method

void disconnect(
  1. AdHocDevice device
)

Disconnects the current node from a specific remote node.

The remote node is identified by device.

Implementation

void disconnect(AdHocDevice device) {
  _datalinkManager.disconnect(device.label!);
}