parentNode property Null safety

Node? parentNode
read / write

The parent of the current node (or null for the document node).

Implementation

Node? parentNode;