Skip to content

Instantly share code, notes, and snippets.

@chalin
Created June 6, 2018 20:29
Show Gist options
  • Save chalin/e0fe1365f6094701c7632562a17e13b7 to your computer and use it in GitHub Desktop.
Save chalin/e0fe1365f6094701c7632562a17e13b7 to your computer and use it in GitHub Desktop.
Uri.queryParametersAll() Dart 2 type error
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