goBack method
Implementation
String? goBack() {
if (!canGoBack()) return null;
_historyIndex--;
currentView = history[_historyIndex];
if (breadcrumbs.length > 1) breadcrumbs.removeLast();
return currentView;
}
String? goBack() {
if (!canGoBack()) return null;
_historyIndex--;
currentView = history[_historyIndex];
if (breadcrumbs.length > 1) breadcrumbs.removeLast();
return currentView;
}