search property

String get search

Returns the Location object's URL's query (includes leading "?" if non-empty).

Can be set, to navigate to the same URL with a changed query (ignores leading "?").

MDN Reference

Implementation

_i2.String get search => _i4.getProperty(
      this,
      'search',
    );
set search (String value)

Implementation

set search(_i2.String value) {
  _i4.setProperty(
    this,
    'search',
    value,
  );
}