Index: lib/src/isolate.dart |
diff --git a/lib/src/isolate.dart b/lib/src/isolate.dart |
index 4b24102a0a0bfc76c1626edb0b32962e92611e39..7d6382e19e3470b1b19ae75518a1cd63dd1beff8 100644 |
--- a/lib/src/isolate.dart |
+++ b/lib/src/isolate.dart |
@@ -186,8 +186,8 @@ class VMIsolateRef { |
/// Like [transform], but only calls [handleData] for events related to this |
/// isolate. |
- Stream/*<T>*/ _transform/*<T>*/(Stream<Map> stream, |
- void handleData(Map json, StreamSink/*<T>*/ sink)) { |
+ Stream<T> _transform<T>(Stream<Map> stream, |
+ void handleData(Map json, StreamSink<T> sink)) { |
return transform(stream, (json, sink) { |
if (json["isolate"]["id"] != _scope.isolateId) return; |
handleData(json, sink); |