toStringQs method
- EncodeOptions? options = const EncodeOptions(listFormat: ListFormat.repeat, skipNulls: false, strictNullHandling: false)
The normalized string representation of the URI.
Providing custom options
will override the default behavior.
Implementation
String toStringQs([
EncodeOptions? options = const EncodeOptions(
listFormat: ListFormat.repeat,
skipNulls: false,
strictNullHandling: false,
),
]) =>
replace(
query: queryParameters.isNotEmpty
? QS.encode(queryParametersAll, options)
: null,
queryParameters: null,
).toString();