push method

Returns a new instance of RouteMatchList with the input match pushed onto the current instance.

Implementation

RouteMatchList push(ImperativeRouteMatch match) {
  // Imperative route match doesn't change the uri and path parameters.
  return _copyWith(matches: <RouteMatch>[...matches, match]);
}