addChild method

  1. @override
TrieNode<K, P, V> addChild(
  1. P part
)
override

Adds a new node with the provided part, or returns the existing one.

Implementation

@override
TrieNode<K, P, V> addChild(P part) =>
    _children.putIfAbsent(part, TrieNodeMap<K, P, V>.new);