getChild method

ImmutableTree<T> getChild(
  1. ChildKey key
)

The immediate child key (empty when absent).

Implementation

ImmutableTree<T> getChild(ChildKey key) =>
    children[key] ?? ImmutableTree<T>.empty();