disconnectFromEndpoint method
Disconnects from a given device by its endpointId
Implementation
Future<void> disconnectFromEndpoint(String endpointId) async {
var connectedDevice = _findDevice(connectedDevices, endpointId);
if (connectedDevice == null) {
return;
}
await nearbyCross.disconnectFrom(endpointId);
}