RouterConfiguration.fromRouteInformation constructor
RouterConfiguration.fromRouteInformation(
- RouteInformation routeInformation
Creates an instance from RouteInformation.
Implementation
RouterConfiguration.fromRouteInformation(RouteInformation routeInformation)
: _routesInfo = List<dynamic>.from(routeInformation.state as List)
.map((entry) => Map<String, dynamic>.from(entry))
.map((routeInfo) => RouteInfo.fromMap(routeInfo))
.toList();