Index: utils/pub/version.dart |
diff --git a/utils/pub/version.dart b/utils/pub/version.dart |
index 18e15a5f84a8f7deabdb0cf35a4e26aff37e3708..06c14fd4fb44c1de69968e8e0e18210fa0175909 100644 |
--- a/utils/pub/version.dart |
+++ b/utils/pub/version.dart |
@@ -192,7 +192,7 @@ class Version implements Comparable, VersionConstraint { |
/// Splits a string of dot-delimited identifiers into their component parts. |
/// Identifiers that are numeric are converted to numbers. |
List _splitParts(String text) { |
- return text.split('.').mappedBy((part) { |
+ return text.split('.').map((part) { |
try { |
return int.parse(part); |
} on FormatException catch (ex) { |