runAll method

Future<void> runAll()

Runs and waits for all AppService.run() calls to complete

Implementation

Future<void> runAll() async {
  return await Future.forEach<AppService>(
    _services.values,
    (service) async {
      if (service.isSupported) {
        await service.run(this);
      }
    },
  ).catchError((error) {
    print('$error');
  });
}