refreshUpToDate method
Refreshes upToDateProduct with the latest available local data.
To be used in the build method, after a call to
context.watch<LocalDatabase>().
Implementation
void refreshUpToDate() {
BackgroundTaskManager.runAgain(_localDatabase);
_refreshUpToDate();
}