getParent method

TKey? getParent(
  1. TKey key
)

Gets the parent key for the given node, or null if it is a root.

Implementation

TKey? getParent(TKey key) => _parentKeyOfKey(key);