pickFromRoute method

Iterable<GetPage> pickFromRoute(
  1. String route
)

Returns the route and all following routes after the given route.

Implementation

Iterable<GetPage> pickFromRoute(String route) {
  return skipWhile((value) => value.name != route);
}