remove method

void remove(
  1. String key, {
  2. bool push = false,
  3. Object? state,
})

Removes key from the current query string.

Implementation

void remove(String key, {bool push = false, Object? state}) {
  final next = Map<String, dynamic>.from(_uri.queryParameters)..remove(key);
  _write(next, push: push, state: state);
}