addRouteHistory method

dynamic addRouteHistory(
  1. Route route
)

Add the route to the history.

Implementation

addRouteHistory(Route<dynamic> route) {
  _routeHistory.add(route);
}