currentPath property

  1. @override
String get currentPath

Current page path without the baseUrl.

Implementation

@override
String get currentPath =>
    _currentPath ?? location.href.replaceFirst(baseUrl, '');