popN method

AFRouteState popN(
  1. int popCount,
  2. dynamic childReturn
)

Remove the leaf element from the route, returning back to the parent screen.

Implementation

AFRouteState popN(int popCount, dynamic childReturn) {
  AFibD.logRouteAF?.d("popN($popCount) with return $childReturn");
  return _reviseScreen(screenHierarchy.popN(popCount, childReturn));
}