class NavGraph extends NavDestination implements Iterable<NavDestination> {

    public void addAll(@NonNull NavGraph other) {
        Iterator<NavDestination> iterator = other.iterator();
        while (iterator.hasNext()) {
            NavDestination destination = iterator.next();
            iterator.remove();
            addDestination(destination);
        }
    }

    public  NavGraph(@NonNull NavigatorProvider navigatorProvider);
    public  NavGraph(@NonNull Navigator<? extends NavGraph> navGraphNavigator);

}