queryParametersAll property

Map<String, List<String>> queryParametersAll

Returns the URI query split into a map according to the rules specified for FORM post in the HTML 4.01 specification section 17.13.4.

Each key and value in the resulting map has been decoded. If there is no query, the map is empty.

Keys are mapped to lists of their values. If a key occurs only once, its value is a singleton list. If a key occurs with no value, the empty string is used as the value for that occurrence.


final uri =
print(jsonEncode(uri.queryParametersAll)); // {"limit":["10","20","30"],"max":["100"]}

The map and the lists it contains are unmodifiable.


Map<String, List<String>> get queryParametersAll;