disconnect method

Future<void> disconnect()

Will disconnect from the current device if any

Implementation

Future<void> disconnect() async {
  if (_device == null) {
    _log('calling disconnect without connected device..');
  }
  await _connectedDeviceStatusListener?.cancel();
}