Im trying to do a periodic background task that uploads some information, the information that i need is in local sqlite database but I cant acces it like i do out of the workmanager task, it gives me a message that de database is not initialized.
Here is the CallbackDispatcher](https://i.sstatic.net/VbkRjTth.png)
I have try declaring manager on main class and try to use it on the workmanager task but that doesnt work.
I have read something about Isolates, but I dont know how to use that to solve it.