updateQueryParameter function

void updateQueryParameter(
  1. String key,
  2. String? value, {
  3. bool reload = false,
})

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}) {}