updateQueryParam method
Update the name
query parameter with the given value
.
Implementation
@internal
void updateQueryParam(String name, String value) {
if (AppRouteConfig.reservedKeys.contains(name)) {
throw ArgumentError(
'The query parameter $name is reserved and cannot be updated.',
);
}
queryParams[name] = value;
notifyListeners();
}