preExecute abstract method
- LocalDatabase localDatabase
Executes the background task: upload, download, update locally. Runs instantly temporary code in order to "fake" the background task.
For instance, here we can pretend that we've changed the product name by doing it locally, but the background task that talks to the server is not even started.
Implementation
/// Runs _instantly_ temporary code in order to "fake" the background task.
///
/// For instance, here we can pretend that we've changed the product name
/// by doing it locally, but the background task that talks to the server
/// is not even started.
Future<void> preExecute(LocalDatabase localDatabase);