pathname property Null safety

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 ?? _defaultPathname;