ParentProvider<T> typedef
ParentProvider<T> =
T? Function(T node)
Signature of a function that takes a T
node and returns a T?
parent.
Used to get the parent of a node in a tree.
Implementation
typedef ParentProvider<T> = T? Function(T node);