hasParent property

bool hasParent

Test whether the node has a parent or not.

Implementation

@override
bool get hasParent => parent != null;