pathname property

  1. @override
String pathname
override

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

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

Implementation

@override
String get pathname => _location.pathname!;