Index: lib/src/authentication_challenge.dart |
diff --git a/lib/src/authentication_challenge.dart b/lib/src/authentication_challenge.dart |
index c0b63ca80994d6156ee929c4a4dc0475aee6deb2..66841b4c8cdbc9984b8bbcdacfbbeccd2e0dfbca 100644 |
--- a/lib/src/authentication_challenge.dart |
+++ b/lib/src/authentication_challenge.dart |
@@ -42,7 +42,7 @@ class AuthenticationChallenge { |
// Manually parse the inner list. We need to do some lookahead to |
// disambiguate between an auth param and another challenge. |
- var params = {}; |
+ var params = <String, String>{}; |
// Consume initial empty values. |
while (scanner.scan(",")) { |
@@ -99,7 +99,7 @@ class AuthenticationChallenge { |
scanner.scan(whitespace); |
var scheme = _scanScheme(scanner); |
- var params = {}; |
+ var params = <String, String>{}; |
parseList(scanner, () => _scanAuthParam(scanner, params)); |
scanner.expectDone(); |