parent property Null safety

XmlNode? parent
inherited

Return the parent node of this node, or null if there is none.

Implementation

XmlNode? get parent => null;