fillTheTank method

Future<void> fillTheTank(
  1. VoidCallback callback
)

Simulates a process to "fill the tank" (e.g. preload initial data).

Implementation

Future<void> fillTheTank(VoidCallback callback) async {
  await Future.delayed(const Duration(seconds: 1));
  callback();
}