Index: lib/src/utils.dart |
diff --git a/lib/src/utils.dart b/lib/src/utils.dart |
index 58ea47abee315d18d90a5299975b1bde8c8d654f..7afbb3a4092534fe1ecc9ec752ec107e81f136a8 100644 |
--- a/lib/src/utils.dart |
+++ b/lib/src/utils.dart |
@@ -28,8 +28,8 @@ final _asyncBody = new RegExp(r'<(<anonymous closure>|[^>]+)_async_body>'); |
/// Transforms [stream] with a [StreamTransformer] that transforms data events |
/// using [handleData]. |
-Stream/*<T>*/ transform/*<S, T>*/(Stream/*<S>*/ stream, |
- void handleData(/*=S*/ data, EventSink/*<T>*/ sink)) => |
+Stream<T> transform<S, T>(Stream<S> stream, |
+ void handleData(S data, EventSink<T> sink)) => |
stream.transform( |
new StreamTransformer.fromHandlers(handleData: handleData)); |