parent property

NodeKey? parent

Implementation

NodeKey? get parent =>
    path.length > 1 ? NodeKey(List.from(path)..removeLast()) : null;