hasParent property Null safety

bool hasParent

Test whether the node has a parent or not.

Implementation

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