Created
June 6, 2018 20:29
-
-
Save chalin/e0fe1365f6094701c7632562a17e13b7 to your computer and use it in GitHub Desktop.
Uri.queryParametersAll() Dart 2 type error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() { | |
var uri = Uri.parse('https://foo.bar.com/this/is/a/path?foo=foo1&foo=foo2&bar=baz'); | |
print(uri); | |
print(uri.queryParameters); | |
// print(uri.queryParametersAll); // -> uncomment to see type error | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment