findTargetInCurrentRoute method

String findTargetInCurrentRoute()

Implementation

String findTargetInCurrentRoute() {
  if (_history.length > 1) {
    return _history[_history.length - 2].currentPage!.name;
  }
  return '/';
}