goForward method

String? goForward()

Implementation

String? goForward() {
  if (!canGoForward()) return null;
  _historyIndex++;
  currentView = history[_historyIndex];
  return currentView;
}