parent property

Node? get parent
inherited

The Node.parentNode read-only property returns the parent of the specified node in the DOM tree.

Implementation

Node? get parent => parentNode;