pathname property

String pathname

The pathname part of the URL in the browser address bar.

See: https://developer.mozilla.org/en-US/docs/Web/API/Location/pathname

Implementation

String get pathname;