Index: utils/pub/utils.dart |
diff --git a/utils/pub/utils.dart b/utils/pub/utils.dart |
index 7710ac194a1691e2da88c94fad9f780979d93f07..8d17f9550430670d29fc1d4bcb1fee27433911f1 100644 |
--- a/utils/pub/utils.dart |
+++ b/utils/pub/utils.dart |
@@ -162,7 +162,7 @@ String mapToQuery(Map<String, String> map) { |
value = (value == null || value.isEmpty) ? null : encodeUriComponent(value); |
pairs.add([key, value]); |
}); |
- return Strings.join(pairs.mappedBy((pair) { |
+ return Strings.join(pairs.map((pair) { |
if (pair[1] == null) return pair[0]; |
return "${pair[0]}=${pair[1]}"; |
}), "&"); |