getChildrenOf method

Iterable<K> getChildrenOf(
  1. K? key
)

Returns the children of key.

Will call childrenGetter.

Should be overwritten if childrenGetter is null.

Implementation

Iterable<K> getChildrenOf(K? key) =>
    key == null ? <K>[] : childrenGetter!(key);