appendPath method
Append to the current route (e.g. /b appended to /a = /a/b)
Implementation
@override
void appendPath(String path) {
if (path == '/') return;
if (navStack.isNotEmpty) {
final last = navStack.last;
_addPath(DartBoardPath(
(last.path == '/' ? last.rootPath : last.path) + path, initialPath));
}
notifyListeners();
}