toStringQs method

String toStringQs([
  1. EncodeOptions options = const EncodeOptions()
])

The normalized string representation of the URI. Providing custom options will override the default behavior.

Implementation

String toStringQs([EncodeOptions options = const EncodeOptions()]) => replace(
      query: queryParameters.isNotEmpty
          ? QS.encode(queryParameters, options)
          : null,
      queryParameters: null,
    ).toString();