addRouteHistory static method

dynamic addRouteHistory(
  1. Route route
)

Add a route to the route history.

Implementation

static addRouteHistory(Route<dynamic> route) {
  NyNavigator.instance.router.addRouteHistory(route);
}