RouteStore constructor

RouteStore([
  1. List<ControlRoute>? routes
])

Stores Routes with their Identifiers.

Typically not used directly, but via framework:

Implementation

RouteStore([List<ControlRoute>? routes]) {
  if (routes != null) {
    addRoutes(routes);
  }
}