hasParent property

bool hasParent

Returns true if this node has a parent.

Implementation

bool get hasParent => parent != null;