ChildrenProvider<T> typedef

ChildrenProvider<T> = Iterable<T> Function(T node)

Signature of a function that takes a T node and returns an Iterable<T>.

Used to get the children of a node in a tree.

Implementation

typedef ChildrenProvider<T> = Iterable<T> Function(T node);