Removes all query parameters from the current URL.
void clear({bool push = false, Object? state}) { _write(const {}, push: push, state: state); }