I am pretty much looking to import and replace existing Sqlite database in Flutter. I am getting the current database with this:
getDatabasePath() async { String databasePath = await getDatabasesPath(); }
I can then export that .db file somewhere on the device. How would I go around importing that file and replacing the old one in the database with it, on, say, another device?
1.4m articles
1.4m replys
5 comments
56.9k users