hasParent property

bool get hasParent

Returns true if this node has a parent.

Implementation

bool get hasParent => parent != null;