diff --git a/lib/src/collect.dart b/lib/src/collect.dart
index 9aba764..a7666d9 100644
--- a/lib/src/collect.dart
+++ b/lib/src/collect.dart
@@ -124,7 +124,7 @@
     // message to the socket, the socket might be closed; async - when we are
     // waiting for the response, the socket again closes.
     futures.add(Future.sync(() async {
-      final isolate = await service.getIsolate(isolateRef.id) as Isolate;
+      final isolate = await service.getIsolate(isolateRef.id);
       if (isolate.pauseEvent.kind != EventKind.kResume) {
         await service.resume(isolateRef.id);
       }
@@ -149,7 +149,7 @@
   Future allPaused() async {
     final vm = await service.getVM();
     for (var isolateRef in vm.isolates) {
-      final isolate = await service.getIsolate(isolateRef.id) as Isolate;
+      final isolate = await service.getIsolate(isolateRef.id);
       if (!pauseEvents.contains(isolate.pauseEvent.kind)) {
         throw 'Unpaused isolates remaining.';
       }
