Close the connection
@override Future<void> disconnect() async { ModbusAppLogger.fine("Closing serial port ${serialPort.name}..."); if (serialPort.isOpen) { await serialPort.close(); } }