Index: sdk/lib/async/stream.dart |
diff --git a/sdk/lib/async/stream.dart b/sdk/lib/async/stream.dart |
index a026484e214758b66f11b97c3de55af19a00ca49..c713d9e87386f09989955e5bc5a08f1499141c88 100644 |
--- a/sdk/lib/async/stream.dart |
+++ b/sdk/lib/async/stream.dart |
@@ -134,6 +134,13 @@ abstract class Stream<T> { |
} |
/** |
+ * Deprecated alias for [map]. |
+ * |
+ * @deprecated |
+ */ |
+ Stream mappedBy(f(T element)) => map(f); |
+ |
+ /** |
* Create a wrapper Stream that intercepts some errors from this stream. |
* |
* If this stream sends an error that matches [test], then it is intercepted |