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