hasParent property

  1. @override
bool hasParent

Test whether the node has a parent or not.

Implementation

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