My flutter app is using the flutter_bluetooth_basic: ^0.1.5 and blue_thermal_printer: ^1.1.1 packages to connect to a Bluetooth printer and print receipts, but my problem is I want users to be able to connect to a Bluetooth printer and have it saved under shared preferences so every time they open the login, my app will try to connect to the Bluetooth printer automatically so they don't have to connect every time but have a Bluetooth device saved, but when trying to save it to shared preferences, I cant set it because it doesn't support the type of BluetoothDevice, how can save BluetoothDevive objects locally? any thoughts, please
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…