openAll method

Future<List<LoadedCourse>> openAll()

Todos os instalados que ainda abrem, na ordem da lista.

Implementation

Future<List<LoadedCourse>> openAll() async {
  final result = <LoadedCourse>[];
  for (final installed in state.installed) {
    final loaded = await open(installed.id);
    if (loaded != null) result.add(loaded);
  }
  return result;
}