Index: lib/src/utils.dart |
diff --git a/lib/src/utils.dart b/lib/src/utils.dart |
index a5cc833471f730481a9417e80765e5342161dc67..f4a16a88ba0912d90b557bc3878ec77c8e1aa12b 100644 |
--- a/lib/src/utils.dart |
+++ b/lib/src/utils.dart |
@@ -79,15 +79,6 @@ final String RED_COLOR = '\u001b[31m'; |
final String MAGENTA_COLOR = '\u001b[35m'; |
final String NO_COLOR = '\u001b[0m'; |
-/** Find and return the first element in [list] that satisfies [matcher]. */ |
-find(List list, bool matcher(elem)) { |
- for (var elem in list) { |
- if (matcher(elem)) return elem; |
- } |
- return null; |
-} |
- |
- |
/** A future that waits until all added [Future]s complete. */ |
// TODO(sigmund): this should be part of the futures/core libraries. |
class FutureGroup { |
@@ -246,14 +237,6 @@ class IntIterator implements Iterator<int> { |
} |
-// TODO(jmesserly): VM hashCode performance workaround. |
-// https://code.google.com/p/dart/issues/detail?id=5746 |
-class Hashable { |
- static int _nextHash = 0; |
- final int hashCode = ++_nextHash; |
-} |
- |
- |
/** |
* Asserts that the condition is true, if not throws an [InternalError]. |
* Note: unlike "assert" we want these errors to be always on so we get bug |