route.dart
route.dart copied to clipboard
Add method returning all sub-routes of a Route object
An easy way to get all sub-routes of a Route was missing. This PR adds it to abstract class Route and its implementation. Tests pass in current content-shell full-stable-45692.0.
You are right. Hope that fits.
Also add the method to RouteHandle https://github.com/angular/route.dart/blob/master/lib/route_handle.dart
Would you like to have RouteHandle return its route's subRoutes or throw "unsupported"? Think it should throw.
It should return _route.subRoutes
Hi, will this be released? And if so, when is ETA ? Thanks