activePath property
String
get
activePath
Возвращает последний сегмент текущего пути.
Implementation
String get activePath {
final segments = currentPath.split('/');
return segments.lastOrNull ?? currentPath;
}