removeLastRouteHistory method

void removeLastRouteHistory()

Remove the last route from the history.

Implementation

void removeLastRouteHistory() {
  if (_routeHistory.isEmpty) return;
  _routeHistory.removeLast();
}