.
autoConnect: true, the plugin will attempt to automatically reconnect to the device if the connection is lost. await device.connect(autoConnect: true); Important Note: When using auto-connect, the connect() method returns immediately. You must still listen to the connectionState stream to know when