disconnect method

Future<void> disconnect()

Disconnects the device.

Implementation

Future<void> disconnect() async {
  _log.info("Disconnecting");
  try {
    await device.disconnect();
  } catch (_) {}
}