UriExtension extension
Extensions that integrate qs_dart with Uri.
queryParametersQsdecodes the rawquerystring usingQS.decode.toStringQsre-encodesqueryParametersAllusingQS.encodewith configurable options.
These helpers avoid the lossy behavior of Uri.queryParameters (which flattens duplicate keys)
and let you round‑trip complex nested structures.
- on
Methods
-
queryParametersQs(
[DecodeOptions? options]) → Map< String, dynamic> -
Available on Uri, provided by the UriExtension extension
Decodes the rawquerystring into aMap<String, dynamic>usingQS.decode. -
toStringQs(
[EncodeOptions? options = const EncodeOptions(listFormat: ListFormat.repeat, skipNulls: false, strictNullHandling: false)]) → String -
Available on Uri, provided by the UriExtension extension
Returns a normalized string for thisUriwith the query encoded byQS.encode.