future method
Future where all underlying providers initialized.
Implementation
Future<List<Box<DateTime>>> future() async {
await Future.wait([
...ref
.watch(workerKeysProvider)
.workers
.map((e) async => e.journal.hiveRepository.future()),
]); // make sure every dep inited and the services archived
return Future.wait([
...ref.watch(workerKeysProvider).workers.map((e) async =>
ref.watch(daysWithServicesProvider(e.apiKey).notifier).future()),
]);
}