Returns the parent of key.
key
Will call parentGetter.
Should be overwritten if parentGetter is null.
@override Node? getParentOf(Node? key) => key?.parent;