getParentOf method

  1. @override
Node? getParentOf(
  1. Node? key
)
override

Returns the parent of key.

Will call parentGetter.

Should be overwritten if parentGetter is null.

Implementation

@override
Node? getParentOf(Node? key) => key?.parent;