Change from .first to .single to ensure this (#19981)
This commit is contained in:
@@ -195,7 +195,7 @@ class FlutterTestDriver {
|
||||
// Currently these tests only have a single isolate. If this
|
||||
// ceases to be the case, this code will need changing.
|
||||
final VM vm = await vmService.getVM();
|
||||
return await vm.isolates.first.load();
|
||||
return await vm.isolates.single.load();
|
||||
}
|
||||
|
||||
Future<void> addBreakpoint(String path, int line) async {
|
||||
|
||||
Reference in New Issue
Block a user