cleanTestRoute method

AFRouteState cleanTestRoute()

Used internally to convert a test route, which has the prototype screens at its base, into a route that looks like what the app would have without the test stuff.

Implementation

AFRouteState cleanTestRoute() {
  final revisedSegments = screenHierarchy.cleanTestRoute();
  return copyWith(screenSegs: revisedSegments);
}