navigateToByNode method
void
navigateToByNode({
allows navigation to a node by a reference to a node this will make the MAJBuilder change the currently displayed node to the passed node ex: context.read
Implementation
void navigateToByNode({
required MAJNode nodeTo,
}) {
currentNode = nodeTo;
notifyListeners();
}