ownerDocument property Null safety

Document? ownerDocument

The document this node belongs to.

Returns null if this node does not belong to any document.

Other resources

Implementation

Document? get ownerDocument native;