Ephenodrom / Dart-Basic-Utils

A dart package for many helper methods fitting common situations
MIT License
364 stars 77 forks source link

Change addQueryParameterToUrl to handle URLs with existing query parameters #71

Closed chuac closed 2 years ago

chuac commented 2 years ago

Previously, addQueryParameterToUrl would remove existing query parameters on the URL. This change makes it so that addQueryParameterToUrl will maintain existing query parameters, however if there is a key for a parameter that already exists then it will be overwritten.

Ephenodrom commented 2 years ago

@chuac Thank your very much!