updateFromRoute method
Implementation
void updateFromRoute(String? currentRoute, List<dynamic> items) {
if (currentRoute != null) {
_normalizedCurrentRoute = _normalizeRoute(currentRoute);
_currentSegments = _normalizedCurrentRoute.split('/');
_updateSelectionFromRoute(items);
notifyListeners();
}
}