leaf property
DeepNavigationNode<T>
leaf
Returns the last descendant of this node, which can be itself if child is null.
Implementation
DeepNavigationNode<T> get leaf => child?.leaf ?? this;
Returns the last descendant of this node, which can be itself if child is null.
DeepNavigationNode<T> get leaf => child?.leaf ?? this;