find<T> static method
Find a node by id across all sections, or null.
Implementation
static NavNode<T>? find<T>(List<NavSection<T>> sections, NavNodeId id) {
NavNode<T>? hit;
walk<T>(sections, (n, _) {
if (n.id == id) hit = n;
});
return hit;
}