hasParent property

bool get hasParent

True if this node has a non-null parent.

Implementation

bool get hasParent => parent != null;