queryParametersAll property

  1. @override
Map<String, List<String>> get queryParametersAll
override

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.

Example:

final uri =
    Uri.parse('https://example.com/api/fetch?limit=10&limit=20&limit=30&max=100');
print(jsonEncode(uri.queryParametersAll)); // {"limit":["10","20","30"],"max":["100"]}

The map and the lists it contains are unmodifiable.

Implementation

@override
Map<String, List<String>> get queryParametersAll =>
    _delegate.queryParametersAll;