parentNode property
ContainerNode?
get
parentNode
The Node.parentNode read-only property returns the parent of the specified node in the DOM tree.
Implementation
@pragma('vm:prefer-inline')
/// The Node.parentNode read-only property returns the parent of the specified node in the DOM tree.
ContainerNode? get parentNode => parentOrShadowHostNode;