addRouteHistory method

void addRouteHistory(
  1. Route route
)

Add the route to the history.

Implementation

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