updateQueryParameter function
Updates the query parameter with key
to the new value
, and optionally
reloads the page when reload
is true.
No-op for non-web platforms.
Implementation
void updateQueryParameter(String key, String? value, {bool reload = false}) {}