clear method

void clear({
  1. bool push = false,
  2. Object? state,
})

Removes all query parameters from the current URL.

Implementation

void clear({bool push = false, Object? state}) {
  _write(const {}, push: push, state: state);
}