void pop(AppRouterState state, AppRoute route) { return onPop?.call(RouteState(state, route as T)); }