Commit f850d04e authored by Danny Tuppeny's avatar Danny Tuppeny Committed by Danny Tuppeny

Add missing await

parent 3cb539fd
...@@ -51,7 +51,7 @@ class EmulatorManager { ...@@ -51,7 +51,7 @@ class EmulatorManager {
/// Return the list of all available emulators. /// Return the list of all available emulators.
Future<List<Emulator>> getAllAvailableEmulators() async { Future<List<Emulator>> getAllAvailableEmulators() async {
final List<Emulator> emulators = <Emulator>[]; final List<Emulator> emulators = <Emulator>[];
Future.forEach(_platformDiscoverers, (EmulatorDiscovery discoverer) async { await Future.forEach(_platformDiscoverers, (EmulatorDiscovery discoverer) async {
emulators.addAll(await discoverer.emulators); emulators.addAll(await discoverer.emulators);
}); });
return emulators; return emulators;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment