Index: pkg/oauth2/lib/src/utils.dart |
=================================================================== |
--- pkg/oauth2/lib/src/utils.dart (revision 17246) |
+++ pkg/oauth2/lib/src/utils.dart (working copy) |
@@ -20,7 +20,7 @@ |
/// Convert a URL query string (or `application/x-www-form-urlencoded` body) |
/// into a [Map] from parameter names to values. |
Map<String, String> queryToMap(String queryList) { |
- var map = <String>{}; |
+ var map = {}; |
for (var pair in queryList.split("&")) { |
var split = split1(pair, "="); |
if (split.isEmpty) continue; |